mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
syntax: Remove redundant span from ast::Mac
Also remove a couple of redundant `visit_mac` asserts
This commit is contained in:
@@ -927,7 +927,6 @@ macro_rules! parse_lit {
|
||||
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)) {
|
||||
|
||||
Reference in New Issue
Block a user