1
Fork 0

parser: Remove Options from unnormalized tokens

They are always set synchronously with normalized tokens now
This commit is contained in:
Vadim Petrochenkov 2020-02-16 23:19:51 +03:00
parent ed2fd28d38
commit 06fbb0b4fa
4 changed files with 26 additions and 43 deletions

View file

@ -134,7 +134,7 @@ impl<'a> Parser<'a> {
path
});
let lo = self.unnormalized_token().span;
let lo = self.unnormalized_token.span;
let mut segments = Vec::new();
let mod_sep_ctxt = self.token.span.ctxt();
if self.eat(&token::ModSep) {