diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-12-01 15:55:32 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-12-02 21:56:34 +0300 |
| commit | 0fac56717a1bce4e362d91d8f4e71d65676d49a3 (patch) | |
| tree | 11b5ebb959a47b61f5e8a7e1853d85c8b62e7554 /src/librustc_parse/parser/ty.rs | |
| parent | a81804b4d5f222f94758139b504aa2570528f9f1 (diff) | |
| download | rust-0fac56717a1bce4e362d91d8f4e71d65676d49a3.tar.gz rust-0fac56717a1bce4e362d91d8f4e71d65676d49a3.zip | |
syntax: Remove redundant span from `ast::Mac`
Also remove a couple of redundant `visit_mac` asserts
Diffstat (limited to 'src/librustc_parse/parser/ty.rs')
| -rw-r--r-- | src/librustc_parse/parser/ty.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_parse/parser/ty.rs b/src/librustc_parse/parser/ty.rs index 802bef525db..32142796905 100644 --- a/src/librustc_parse/parser/ty.rs +++ b/src/librustc_parse/parser/ty.rs @@ -181,7 +181,6 @@ impl<'a> Parser<'a> { let mac = Mac { path, args, - span: lo.to(self.prev_span), prior_type_ascription: self.last_type_ascription, }; TyKind::Mac(mac) |
