/// find the PatKind::Ident paths in a pattern
find the PatKind::Ident paths in a pattern
find the PatKind :: Ident paths in a pattern
fn pattern_bindings(pat: &ast::Pat) -> Vec<ast::Ident> {
    let mut name_finder = PatIdentFinder{ident_accumulator:Vec::new()};
    name_finder.visit_pat(pat);
    name_finder.ident_accumulator
}
fn pattern_bindings ( pat : & ast :: Pat ) -> Vec < ast :: Ident > { let mut name_finder = PatIdentFinder { ident_accumulator : Vec :: new ( ) } ; name_finder . visit_pat ( pat ) ; name_finder . ident_accumulator }
find the PatKind::Ident paths in a pattern
find the PatKind :: Ident paths in a pattern
pat
&ast::Pat