diff options
| author | Miguel Guarniz <mi9uel9@gmail.com> | 2022-05-07 17:30:38 -0400 |
|---|---|---|
| committer | Miguel Guarniz <mi9uel9@gmail.com> | 2022-05-13 11:46:06 -0400 |
| commit | cad1fd2f16a0a2516c55b445452dbc84abee8d6d (patch) | |
| tree | c8c63e8d579e146534012f1d5be46795eca65728 /src/librustdoc/scrape_examples.rs | |
| parent | 2e988794037e821cff9b8b978d3895b2c6532adb (diff) | |
| download | rust-cad1fd2f16a0a2516c55b445452dbc84abee8d6d.tar.gz rust-cad1fd2f16a0a2516c55b445452dbc84abee8d6d.zip | |
update rustdoc code to use new method name
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 fc07f49f150..e0aed1e1ed4 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); + tcx.hir().deep_visit_all_item_likes(&mut finder); // Sort call locations within a given file in document order for fn_calls in calls.values_mut() { |
