diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2025-07-24 15:08:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-24 15:08:28 +0200 |
| commit | 6dc41520e96879d9d2507d81032c1a95da65e81e (patch) | |
| tree | ca5c34accb0d7abdef01bc9101f1fd59ff393b4f /compiler/rustc_parse/src/validate_attr.rs | |
| parent | 237098c92ddd3079643d4c8098b1d6ae39847282 (diff) | |
| parent | af06bb925f2a3cd24ab2c623d75b5ea2847dc171 (diff) | |
| download | rust-6dc41520e96879d9d2507d81032c1a95da65e81e.tar.gz rust-6dc41520e96879d9d2507d81032c1a95da65e81e.zip | |
Rollup merge of #144358 - JonathanBrouwer:fix-stability-malformed, r=oli-obk
Stop using the old `validate_attr` logic for stability attributes I think this was accidentally missed when implementing the stability attributes? r? `````@oli-obk````` cc `````@jdonszelmann`````
Diffstat (limited to 'compiler/rustc_parse/src/validate_attr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/validate_attr.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs index ed7fb774908..73a341c3a3d 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -285,6 +285,9 @@ pub fn check_builtin_meta_item( | sym::rustc_do_not_implement_via_object | sym::rustc_coinductive | sym::const_trait + | sym::stable + | sym::unstable + | sym::rustc_allowed_through_unstable_modules | sym::rustc_specialization_trait | sym::rustc_unsafe_specialization_marker | sym::rustc_allow_incoherent_impl |
