Function rustc::hir::pat_util::pat_contains_bindings   
                   
                       [−]
                   
               [src]
pub fn pat_contains_bindings(dm: &DefMap, pat: &Pat) -> bool
Unstable (
rustc_private)Checks if the pattern contains any patterns that bind something to
an ident, e.g. foo, or Foo(foo) or foo @ Bar(..).