Function rustc_typeck::middle::pat_util::pat_bindingsExperimental
[-]
[+]
[src]
pub fn pat_bindings<I>(dm: &RefCell<HashMap<u32, Def, FnvHasher>>, pat: &Pat, it: I)
Call it
on every "binding" in a pattern, e.g., on a
in
match foo() { Some(a) => (), None => () }