diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-08-26 18:42:08 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-02 19:08:58 +0200 |
| commit | 7ec973d9ce7bc02577efde54929ad38bcf5a40eb (patch) | |
| tree | 5056ed7a189839f58b35412ad02cf53158fcd65c /compiler/rustc_save_analysis/src | |
| parent | ad3407f482d29f26c67700974d86f89b3f2ab993 (diff) | |
| download | rust-7ec973d9ce7bc02577efde54929ad38bcf5a40eb.tar.gz rust-7ec973d9ce7bc02577efde54929ad38bcf5a40eb.zip | |
Stop using walk_crate.
Diffstat (limited to 'compiler/rustc_save_analysis/src')
| -rw-r--r-- | compiler/rustc_save_analysis/src/dump_visitor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_save_analysis/src/dump_visitor.rs b/compiler/rustc_save_analysis/src/dump_visitor.rs index 29068761d6d..9d00b12d29f 100644 --- a/compiler/rustc_save_analysis/src/dump_visitor.rs +++ b/compiler/rustc_save_analysis/src/dump_visitor.rs @@ -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>) { |
