Add newtype for raw idents
This commit is contained in:
@@ -311,7 +311,7 @@ impl<'a> Parser<'a> {
|
||||
matches!(
|
||||
&token.uninterpolate().kind,
|
||||
token::FatArrow // e.g. `a | => 0,`.
|
||||
| token::Ident(kw::If, false) // e.g. `a | if expr`.
|
||||
| token::Ident(kw::If, token::IdentIsRaw::No) // e.g. `a | if expr`.
|
||||
| token::Eq // e.g. `let a | = 0`.
|
||||
| token::Semi // e.g. `let a |;`.
|
||||
| token::Colon // e.g. `let a | :`.
|
||||
|
||||
Reference in New Issue
Block a user