1
Fork 0

Stop using walk_crate.

This commit is contained in:
Camille GILLOT 2021-08-26 18:42:08 +02:00
parent ad3407f482
commit 7ec973d9ce
15 changed files with 45 additions and 39 deletions

View file

@ -1122,7 +1122,7 @@ impl<'tcx> DumpVisitor<'tcx> {
attributes: lower_attributes(attrs.to_owned(), &self.save_ctxt),
},
);
intravisit::walk_crate(self, krate);
self.tcx.hir().walk_crate(self);
}
fn process_bounds(&mut self, bounds: hir::GenericBounds<'tcx>) {