const-check: stop recommending the use of rustc_allow_const_fn_unstable

This commit is contained in:
Ralf Jung
2025-05-25 22:16:10 +02:00
parent 283db70ace
commit cf9ac0eec1
11 changed files with 41 additions and 247 deletions

View File

@@ -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,
}