syntax: Remove redundant span from ast::Mac
Also remove a couple of redundant `visit_mac` asserts
This commit is contained in:
parent
a81804b4d5
commit
0fac56717a
16 changed files with 34 additions and 56 deletions
|
@ -927,7 +927,6 @@ impl<'a> Parser<'a> {
|
|||
ex = ExprKind::Mac(Mac {
|
||||
path,
|
||||
args,
|
||||
span: lo.to(hi),
|
||||
prior_type_ascription: self.last_type_ascription,
|
||||
});
|
||||
} else if self.check(&token::OpenDelim(token::Brace)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue