about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2025-08-09 15:16:19 -0700
committerJosh Triplett <josh@joshtriplett.org>2025-08-14 13:53:57 -0700
commit8fb98ef36846f74c8a642e856808ad5600ae4110 (patch)
treeb99fb21a9f7d1a9be132370d3526e40c7416f4fe /compiler/rustc_span/src
parent2c1ac85679678dfe5cce7ea8037735b0349ceaf3 (diff)
downloadrust-8fb98ef36846f74c8a642e856808ad5600ae4110.tar.gz
rust-8fb98ef36846f74c8a642e856808ad5600ae4110.zip
mbe: Parse macro `derive` rules
This handles various kinds of errors, but does not allow applying the
derive yet.

This adds the feature gate `macro_derive`.
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 acbed7a9eed..9254f041711 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1315,6 +1315,7 @@ symbols! {
         macro_attr,
         macro_attributes_in_derive_output,
         macro_concat,
+        macro_derive,
         macro_escape,
         macro_export,
         macro_lifetime_matcher,