about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-26 09:40:03 +0200
committerRalf Jung <post@ralfj.de>2024-10-28 11:48:39 +0100
commitd066dfdb835f15fe2c4d2bdb31d88cb948b360ad (patch)
treeec737bedc6aff10a4cd1ab2d9de28fa4a8280ef8 /compiler/rustc_passes/src
parentf370f3493d3c85c7032a98e6c22b419251f18d2a (diff)
downloadrust-d066dfdb835f15fe2c4d2bdb31d88cb948b360ad.tar.gz
rust-d066dfdb835f15fe2c4d2bdb31d88cb948b360ad.zip
we can now enable the 'const stable fn must be stable' check
Diffstat (limited to 'compiler/rustc_passes/src')
-rw-r--r--compiler/rustc_passes/src/stability.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_passes/src/stability.rs b/compiler/rustc_passes/src/stability.rs
index 67e7496771d..e815615fb72 100644
--- a/compiler/rustc_passes/src/stability.rs
+++ b/compiler/rustc_passes/src/stability.rs
@@ -189,9 +189,6 @@ impl<'a, 'tcx> Annotator<'a, 'tcx> {
             && let Some(fn_sig) = fn_sig
             && const_stab.is_const_stable()
             && !stab.is_some_and(|(s, _)| s.is_stable())
-            // FIXME: we skip this check targets until
-            // <https://github.com/rust-lang/stdarch/pull/1654> propagates.
-            && false
         {
             self.tcx
                 .dcx()