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> {
2162
2162
& token:: CloseDelim ( delim) ,
2163
2163
seq_sep_none ( ) ,
2164
2164
|p| p. parse_token_tree ( ) ) ) ;
2165
- let hi = self . span . hi ;
2165
+ let hi = self . last_span . hi ;
2166
2166
2167
2167
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 ) ) ) ;
2172
2172
}
2173
2173
if self . check ( & token:: OpenDelim ( token:: Brace ) ) {
2174
2174
// This is a struct literal, unless we're prohibited
@@ -3449,7 +3449,7 @@ impl<'a> Parser<'a> {
3449
3449
seq_sep_none ( ) ,
3450
3450
|p| p. parse_token_tree ( )
3451
3451
) ) ;
3452
- let hi = self . span . hi ;
3452
+ let hi = self . last_span . hi ;
3453
3453
3454
3454
let style = if delim == token:: Brace {
3455
3455
MacStmtWithBraces
You can’t perform that action at this time.
0 commit comments