about summary refs log tree commit diff
path: root/compiler/rustc_save_analysis/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-09-02 19:22:24 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-09-02 19:23:11 +0200
commitd119a131374b973f0a1ae9d723c3a9ad518b8049 (patch)
tree81514904236b873904a67ef42dde376ad4b1a0bb /compiler/rustc_save_analysis/src
parentdf148e4efb3bfd973d94217e52a01cde76fec09b (diff)
downloadrust-d119a131374b973f0a1ae9d723c3a9ad518b8049.tar.gz
rust-d119a131374b973f0a1ae9d723c3a9ad518b8049.zip
Rename walk_crate.
Diffstat (limited to 'compiler/rustc_save_analysis/src')
-rw-r--r--compiler/rustc_save_analysis/src/dump_visitor.rs2
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 9d00b12d29f..08ed9ec73c8 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),
             },
         );
-        self.tcx.hir().walk_crate(self);
+        self.tcx.hir().walk_toplevel_module(self);
     }
 
     fn process_bounds(&mut self, bounds: hir::GenericBounds<'tcx>) {