From 5f4d676e70d23b27cf03d931a8a9e944703ade8a Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Wed, 16 Apr 2025 23:35:33 +0200 Subject: Remove #[rustc_macro_edition_2021]. It was only temporarily used by pin!(), which no longer needs it. --- compiler/rustc_feature/src/builtin_attrs.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'compiler/rustc_feature/src') diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 713e460e507..ccbb8e83fb6 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -676,14 +676,6 @@ pub static BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ "`rustc_never_type_options` is used to experiment with never type fallback and work on \ never type stabilization, and will never be stable" ), - rustc_attr!( - rustc_macro_edition_2021, - Normal, - template!(Word), - ErrorFollowing, - EncodeCrossCrate::No, - "makes spans in this macro edition 2021" - ), // ========================================================================== // Internal attributes: Runtime related: -- cgit 1.4.1-3-g733a5