diff options
| author | Miguel Guarniz <mi9uel9@gmail.com> | 2022-05-07 15:43:10 -0400 |
|---|---|---|
| committer | Miguel Guarniz <mi9uel9@gmail.com> | 2022-05-13 11:46:06 -0400 |
| commit | 93616dd5396ecd0fe0f48badc60157f74840d19c (patch) | |
| tree | 79e03a1a86012c3ad420d7254db0bd3903b35fbf /compiler/rustc_incremental | |
| parent | 0b7dd95475d0150719cd859dbd6e2fe7092d83bd (diff) | |
| download | rust-93616dd5396ecd0fe0f48badc60157f74840d19c.tar.gz rust-93616dd5396ecd0fe0f48badc60157f74840d19c.zip | |
remove ItemLikeVisitor and DeepVisitor
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
Diffstat (limited to 'compiler/rustc_incremental')
| -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 f69ae8ebe41..7cddd10203e 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().visit_all_item_likes(&mut visitor.as_deep_visitor()); + tcx.hir().visit_all_item_likes(&mut visitor); (visitor.if_this_changed, visitor.then_this_would_need) }; |
