Closed dtolnay closed 2 years ago
Repro:
macro_rules! repro { ($span:expr=> $expr:expr) => { quote_spanned!($span=> $expr) }; }
Previously an invocation like repro!(span=> a + (b)) would set the specified span on the top-level tokens only, i.e. a and + and the paren token, but not on the b token.
repro!(span=> a + (b))
span
a
+
b
Repro:
Previously an invocation like
repro!(span=> a + (b))
would set the specifiedspan
on the top-level tokens only, i.e.a
and+
and the paren token, but not on theb
token.