about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-07-06 15:15:01 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-08 11:00:54 -0700
commitbad0d45b2dc2b2be36e9e82604a6c3dd95dba08a (patch)
tree161e336b95a92df8aabd2da30d516c7a0527f5e5 /compiler/rustc_span/src
parent2054a0c56b063c195d316e4ff44d0c9f8ad2c012 (diff)
downloadrust-bad0d45b2dc2b2be36e9e82604a6c3dd95dba08a.tar.gz
rust-bad0d45b2dc2b2be36e9e82604a6c3dd95dba08a.zip
mbe: Parse macro attribute rules
This handles various kinds of errors, but does not allow applying the
attributes yet.

This adds the feature gate `macro_attr`.
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 36197950221..5462ed38dd3 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1311,6 +1311,7 @@ symbols! {
         lt,
         m68k_target_feature,
         macro_at_most_once_rep,
+        macro_attr,
         macro_attributes_in_derive_output,
         macro_concat,
         macro_escape,