pub fn pattern_binding_names(pattern: &Pattern) -> Vec<String>Expand description
Collect every name introduced by a match-arm pattern. Composite patterns (tuple, cons, constructor) recursively contribute all their sub-bindings; wildcards and literals contribute nothing.