Rollup merge of #152749 - cyrgani:rustc-allow-const, r=jdonszelmann

make `rustc_allow_const_fn_unstable` an actual `rustc_attrs` attribute

It is already named like one, but used to have its own feature gate, which this PR now removes in favor of just using `#![feature(rustc_attrs)]`.

Most of the diff is just the line number changes in `malformed-attrs.stderr`.
This commit is contained in:
Stuart Cook 2026-02-18 17:29:49 +11:00 committed by GitHub
commit e53dd52e16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 98 additions and 105 deletions

View file

@ -182,7 +182,6 @@
#![feature(negative_impls)]
#![feature(never_type)]
#![feature(optimize_attribute)]
#![feature(rustc_allow_const_fn_unstable)]
#![feature(rustc_attrs)]
#![feature(slice_internals)]
#![feature(staged_api)]

View file

@ -159,7 +159,6 @@
#![feature(pattern_types)]
#![feature(prelude_import)]
#![feature(repr_simd)]
#![feature(rustc_allow_const_fn_unstable)]
#![feature(rustc_attrs)]
#![feature(rustdoc_internals)]
#![feature(simd_ffi)]