Function rustc::hir::pat_util::pat_contains_ref_binding   
                   
                       [−]
                   
               [src]
pub fn pat_contains_ref_binding(dm: &RefCell<DefMap>, pat: &Pat) -> Option<Mutability>
Unstable (
rustc_private)Checks if the pattern contains any ref or ref mut bindings,
and if yes whether its containing mutable ones or just immutables ones.