diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-02 19:22:24 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-09-02 19:23:11 +0200 |
| commit | d119a131374b973f0a1ae9d723c3a9ad518b8049 (patch) | |
| tree | 81514904236b873904a67ef42dde376ad4b1a0bb /compiler/rustc_save_analysis/src | |
| parent | df148e4efb3bfd973d94217e52a01cde76fec09b (diff) | |
| download | rust-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.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 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>) { |
