parser: Remove Option
s from unnormalized tokens
They are always set synchronously with normalized tokens now
This commit is contained in:
parent
ed2fd28d38
commit
06fbb0b4fa
4 changed files with 26 additions and 43 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue