about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-05-25 22:16:10 +0200
committerRalf Jung <post@ralfj.de>2025-05-25 22:47:21 +0200
commitcf9ac0eec16bb863add283b58de5a25a131b142d (patch)
tree96fcae96733f05ebf859eb77dcbb2e2299b9c7b5 /compiler/rustc_const_eval/src
parent283db70ace62a0ae704a624e43b68c2ee44b87a6 (diff)
downloadrust-cf9ac0eec16bb863add283b58de5a25a131b142d.tar.gz
rust-cf9ac0eec16bb863add283b58de5a25a131b142d.zip
const-check: stop recommending the use of rustc_allow_const_fn_unstable
Diffstat (limited to 'compiler/rustc_const_eval/src')
-rw-r--r--compiler/rustc_const_eval/src/errors.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_const_eval/src/errors.rs b/compiler/rustc_const_eval/src/errors.rs
index 826ea0e58ec..7c35e47bbf8 100644
--- a/compiler/rustc_const_eval/src/errors.rs
+++ b/compiler/rustc_const_eval/src/errors.rs
@@ -58,11 +58,6 @@ pub(crate) struct UnstableInStableExposed {
         code = "#[rustc_const_unstable(feature = \"...\", issue = \"...\")]\n",
         applicability = "has-placeholders"
     )]
-    #[suggestion(
-        const_eval_bypass_sugg,
-        code = "#[rustc_allow_const_fn_unstable({gate})]\n",
-        applicability = "has-placeholders"
-    )]
     pub attr_span: Span,
 }