diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-23 11:45:44 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-07 14:26:31 +0000 |
| commit | ae50e36dfa9a249f661ad959bf07eccc9581f4f2 (patch) | |
| tree | 38b6c17a5f535ba48379c627f5308c5f03c8a718 /compiler/rustc_hir_analysis/src/lib.rs | |
| parent | 42ab88d747ba3da906e0cfaccb5de633f44d5aa6 (diff) | |
| download | rust-ae50e36dfa9a249f661ad959bf07eccc9581f4f2.tar.gz rust-ae50e36dfa9a249f661ad959bf07eccc9581f4f2.zip | |
Merge collect_mod_item_types query into check_well_formed
Diffstat (limited to 'compiler/rustc_hir_analysis/src/lib.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/lib.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_hir_analysis/src/lib.rs b/compiler/rustc_hir_analysis/src/lib.rs index 77c4ff382b9..e056c0e84cf 100644 --- a/compiler/rustc_hir_analysis/src/lib.rs +++ b/compiler/rustc_hir_analysis/src/lib.rs @@ -159,12 +159,6 @@ pub fn provide(providers: &mut Providers) { pub fn check_crate(tcx: TyCtxt<'_>) -> Result<(), ErrorGuaranteed> { let _prof_timer = tcx.sess.timer("type_check_crate"); - // this ensures that later parts of type checking can assume that items - // have valid types and not error - tcx.sess.time("type_collecting", || { - tcx.hir().for_each_module(|module| tcx.ensure().collect_mod_item_types(module)) - }); - if tcx.features().rustc_attrs { tcx.sess.time("outlives_testing", || outlives::test::test_inferred_outlives(tcx))?; } |
