diff options
| author | Ralf Jung <post@ralfj.de> | 2025-05-25 22:16:10 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-05-25 22:47:21 +0200 |
| commit | cf9ac0eec16bb863add283b58de5a25a131b142d (patch) | |
| tree | 96fcae96733f05ebf859eb77dcbb2e2299b9c7b5 /compiler/rustc_const_eval/src | |
| parent | 283db70ace62a0ae704a624e43b68c2ee44b87a6 (diff) | |
| download | rust-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.rs | 5 |
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, } |
