about summary refs log tree commit diff
path: root/compiler/rustc_interface
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-01-16 19:36:22 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2022-03-03 18:22:31 +0100
commit71838827b6e54bac2abd0cce46982a60096afd5c (patch)
tree74d3b14f0182fd78af08ff8f914731d2bea3f243 /compiler/rustc_interface
parent6f8e9f416a49993670056d9d9e0601e4e25ecf28 (diff)
downloadrust-71838827b6e54bac2abd0cce46982a60096afd5c.tar.gz
rust-71838827b6e54bac2abd0cce46982a60096afd5c.zip
Force ensure stability_index.
Diffstat (limited to 'compiler/rustc_interface')
-rw-r--r--compiler/rustc_interface/src/passes.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 3b51f8eb61c..5d633846bcf 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -939,6 +939,7 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> {
                 // This marks the corresponding crate-level attributes
                 // as used, and ensures that their values are valid.
                 tcx.ensure().limits(());
+                tcx.ensure().stability_index(());
             }
         );
     });