Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/span/src/map.rs')
| -rw-r--r-- | crates/span/src/map.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/span/src/map.rs b/crates/span/src/map.rs index e769b6420e..81fc56c961 100644 --- a/crates/span/src/map.rs +++ b/crates/span/src/map.rs @@ -15,6 +15,8 @@ use crate::{ #[derive(Debug, PartialEq, Eq, Clone, Hash)] pub struct SpanMap<S> { spans: Vec<(TextSize, SpanData<S>)>, + /// Index of the matched macro arm on successful expansion for declarative macros. + // FIXME: Does it make sense to have this here? pub matched_arm: Option<u32>, } |