diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-23 11:19:16 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-07 13:37:06 +0000 |
| commit | 42ab88d747ba3da906e0cfaccb5de633f44d5aa6 (patch) | |
| tree | f5c074b93a1548a5b093f397cd7b23f05101c507 | |
| parent | ebf1b92417bb3315698130162578a387b640cf41 (diff) | |
| download | rust-42ab88d747ba3da906e0cfaccb5de633f44d5aa6.tar.gz rust-42ab88d747ba3da906e0cfaccb5de633f44d5aa6.zip | |
Remove redundant query invocations in rustdoc
| -rw-r--r-- | src/librustdoc/core.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs index 5a28f495381..47fff5a6ef2 100644 --- a/src/librustdoc/core.rs +++ b/src/librustdoc/core.rs @@ -324,11 +324,6 @@ pub(crate) fn run_global_ctxt( let _ = tcx.sess.time("wf_checking", || { tcx.hir().try_par_for_each_module(|module| tcx.ensure().check_mod_type_wf(module)) }); - tcx.sess.time("item_types_checking", || { - tcx.hir().for_each_module(|module| { - let _ = tcx.ensure().check_mod_type_wf(module); - }); - }); if let Some(guar) = tcx.dcx().has_errors() { return Err(guar); |
