From 71838827b6e54bac2abd0cce46982a60096afd5c Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Sun, 16 Jan 2022 19:36:22 +0100 Subject: Force ensure stability_index. --- compiler/rustc_interface/src/passes.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_interface') 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(()); } ); }); -- cgit 1.4.1-3-g733a5