diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-07-03 15:28:57 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-07-07 16:01:43 +0200 |
| commit | 111df9e6eda1d752233482c1309d00d20a4bbf98 (patch) | |
| tree | 2d75a6031c84a0d86b5d0513fbc60f342765b9f4 /compiler/rustc_incremental/src | |
| parent | c461f7a16e8372216dbf7a54ab86ee958bec83b5 (diff) | |
| download | rust-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.rs | 2 |
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) }; |
