Function rustc_typeck::middle::pat_util::pat_contains_ref_binding
[−]
[src]
pub fn pat_contains_ref_binding(dm: &RefCell<HashMap<u32, PathResolution, DefaultState<FnvHasher>>>, pat: &Pat) -> bool
Unstable
Checks if the pattern contains any ref or ref mut bindings.