We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f047c commit 7374fdcCopy full SHA for 7374fdc
src/libsyntax/parse/parser.rs
@@ -1553,7 +1553,7 @@ impl<'a> Parser<'a> {
1553
if self.eat(&token::Not) {
1554
// Macro invocation in type position
1555
let (_, tts) = self.expect_delimited_token_tree()?;
1556
- TyKind::Mac(respan(lo.to(self.span), Mac_ { path: path, tts: tts }))
+ TyKind::Mac(respan(lo.to(self.prev_span), Mac_ { path: path, tts: tts }))
1557
} else {
1558
// Just a type path or bound list (trait object type) starting with a trait.
1559
// `Type`
0 commit comments