about summary refs log tree commit diff
path: root/compiler/rustc_incremental/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-07-03 15:28:57 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-07-07 16:01:43 +0200
commit111df9e6eda1d752233482c1309d00d20a4bbf98 (patch)
tree2d75a6031c84a0d86b5d0513fbc60f342765b9f4 /compiler/rustc_incremental/src
parentc461f7a16e8372216dbf7a54ab86ee958bec83b5 (diff)
downloadrust-111df9e6eda1d752233482c1309d00d20a4bbf98.tar.gz
rust-111df9e6eda1d752233482c1309d00d20a4bbf98.zip
Reword comments and rename HIR visiting methods.
Diffstat (limited to 'compiler/rustc_incremental/src')
-rw-r--r--compiler/rustc_incremental/src/assert_dep_graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_incremental/src/assert_dep_graph.rs b/compiler/rustc_incremental/src/assert_dep_graph.rs
index a89b9eafaa6..93528b4514b 100644
--- a/compiler/rustc_incremental/src/assert_dep_graph.rs
+++ b/compiler/rustc_incremental/src/assert_dep_graph.rs
@@ -75,7 +75,7 @@ pub fn assert_dep_graph(tcx: TyCtxt<'_>) {
             let mut visitor =
                 IfThisChanged { tcx, if_this_changed: vec![], then_this_would_need: vec![] };
             visitor.process_attrs(hir::CRATE_HIR_ID);
-            tcx.hir().deep_visit_all_item_likes(&mut visitor);
+            tcx.hir().visit_all_item_likes_in_crate(&mut visitor);
             (visitor.if_this_changed, visitor.then_this_would_need)
         };