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

pub fn pat_contains_bindings_or_wild(dm: &DefMap, pat: &Pat) -> bool
Unstable (rustc_private)

Checks if the pattern contains any patterns that bind something to an ident or wildcard, e.g. foo, or Foo(_), foo @ Bar(..),