Home
last modified time | relevance | path

Searched refs:walk_short_ (Results 1 – 1 of 1) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_hir/src/
H A Dhir.rs787 fn walk_short_(&self, it: &mut impl FnMut(&Pat<'hir>) -> bool) -> bool { in walk_short_() method
795 Box(s) | Ref(s, _) | Binding(.., Some(s)) => s.walk_short_(it), in walk_short_()
796 Struct(_, fields, _) => fields.iter().all(|field| field.pat.walk_short_(it)), in walk_short_()
797 TupleStruct(_, s, _) | Tuple(s, _) | Or(s) => s.iter().all(|p| p.walk_short_(it)), in walk_short_()
799 before.iter().chain(slice).chain(after.iter()).all(|p| p.walk_short_(it)) in walk_short_()
811 self.walk_short_(&mut it) in walk_short()