about summary refs log tree commit diff
path: root/src/librustdoc
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-02-23 11:45:44 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-07 14:26:31 +0000
commitae50e36dfa9a249f661ad959bf07eccc9581f4f2 (patch)
tree38b6c17a5f535ba48379c627f5308c5f03c8a718 /src/librustdoc
parent42ab88d747ba3da906e0cfaccb5de633f44d5aa6 (diff)
downloadrust-ae50e36dfa9a249f661ad959bf07eccc9581f4f2.tar.gz
rust-ae50e36dfa9a249f661ad959bf07eccc9581f4f2.zip
Merge collect_mod_item_types query into check_well_formed
Diffstat (limited to 'src/librustdoc')
-rw-r--r--src/librustdoc/core.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustdoc/core.rs b/src/librustdoc/core.rs
index 47fff5a6ef2..80a30ac2727 100644
--- a/src/librustdoc/core.rs
+++ b/src/librustdoc/core.rs
@@ -314,12 +314,6 @@ pub(crate) fn run_global_ctxt(
     // typeck function bodies or run the default rustc lints.
     // (see `override_queries` in the `config`)
 
-    // HACK(jynelson) this calls an _extremely_ limited subset of `typeck`
-    // and might break if queries change their assumptions in the future.
-    tcx.sess.time("type_collecting", || {
-        tcx.hir().for_each_module(|module| tcx.ensure().collect_mod_item_types(module))
-    });
-
     // NOTE: These are copy/pasted from typeck/lib.rs and should be kept in sync with those changes.
     let _ = tcx.sess.time("wf_checking", || {
         tcx.hir().try_par_for_each_module(|module| tcx.ensure().check_mod_type_wf(module))