Skip to main content

visit_pattern_bindings

Function visit_pattern_bindings 

Source
pub fn visit_pattern_bindings(pattern: &Pat, visit: impl FnMut(&Ident))
Expand description

Visit syntactic identifier bindings of a pattern in source order. Type and expression subtrees are excluded. This observes syntax, not type inference or whether an otherwise ambiguous identifier denotes a resolved constant.