File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2162,13 +2162,13 @@ impl<'a> Parser<'a> {
21622162 & token:: CloseDelim ( delim) ,
21632163 seq_sep_none ( ) ,
21642164 |p| p. parse_token_tree ( ) ) ) ;
2165- let hi = self . span . hi ;
2165+ let hi = self . last_span . hi ;
21662166
21672167 return Ok ( self . mk_mac_expr ( lo,
2168- hi,
2169- MacInvocTT ( pth,
2170- tts,
2171- EMPTY_CTXT ) ) ) ;
2168+ hi,
2169+ MacInvocTT ( pth,
2170+ tts,
2171+ EMPTY_CTXT ) ) ) ;
21722172 }
21732173 if self . check ( & token:: OpenDelim ( token:: Brace ) ) {
21742174 // This is a struct literal, unless we're prohibited
@@ -3449,7 +3449,7 @@ impl<'a> Parser<'a> {
34493449 seq_sep_none ( ) ,
34503450 |p| p. parse_token_tree ( )
34513451 ) ) ;
3452- let hi = self . span . hi ;
3452+ let hi = self . last_span . hi ;
34533453
34543454 let style = if delim == token:: Brace {
34553455 MacStmtWithBraces
You can’t perform that action at this time.
0 commit comments