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 /src/librustdoc/scrape_examples.rs | |
| 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 'src/librustdoc/scrape_examples.rs')
| -rw-r--r-- | src/librustdoc/scrape_examples.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/scrape_examples.rs b/src/librustdoc/scrape_examples.rs index 0da490f3cd6..fc07f49f150 100644 --- a/src/librustdoc/scrape_examples.rs +++ b/src/librustdoc/scrape_examples.rs @@ -303,7 +303,7 @@ crate fn run( // Run call-finder on all items let mut calls = FxHashMap::default(); let mut finder = FindCalls { calls: &mut calls, tcx, map: tcx.hir(), cx, target_crates }; - tcx.hir().visit_all_item_likes(&mut finder.as_deep_visitor()); + tcx.hir().visit_all_item_likes(&mut finder); // Sort call locations within a given file in document order for fn_calls in calls.values_mut() { |
