about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2025-07-21 09:18:22 +0300
committerLaurențiu Nicola <lnicola@dend.ro>2025-07-21 09:18:22 +0300
commit2f14119240acfe803f210a896aa31db8981be03c (patch)
treef9bb31bc973696b881279c87bb28854ae181fc50 /compiler/rustc_interface/src
parent750c1e9c39633de1242acf086ef1c053961219b2 (diff)
parente05ab47e6c418fb2b9faa2eae9a7e70c65c98eaa (diff)
downloadrust-2f14119240acfe803f210a896aa31db8981be03c.tar.gz
rust-2f14119240acfe803f210a896aa31db8981be03c.zip
Merge from rust-lang/rust
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index a438cde018c..fb6897c7d89 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -1055,17 +1055,11 @@ fn run_required_analyses(tcx: TyCtxt<'_>) {
                 });
             },
             {
-                sess.time("unused_lib_feature_checking", || {
-                    rustc_passes::stability::check_unused_or_stable_features(tcx)
-                });
-            },
-            {
                 // We force these queries to run,
                 // since they might not otherwise get called.
                 // This marks the corresponding crate-level attributes
                 // as used, and ensures that their values are valid.
                 tcx.ensure_ok().limits(());
-                tcx.ensure_ok().stability_index(());
             }
         );
     });