Function rustc::hir::pat_util::arm_contains_ref_binding [] [src]

pub fn arm_contains_ref_binding(dm: &RefCell<DefMap>, arm: &Arm) -> Option<Mutability>
Unstable (rustc_private)

Checks if the patterns for this arm contain any ref or ref mut bindings, and if yes whether its containing mutable ones or just immutables ones.