We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 555c6f6 + 7e5d40a commit 6f8286dCopy full SHA for 6f8286d
crates/parser/src/lexed_str.rs
@@ -183,7 +183,7 @@ impl<'a> Converter<'a> {
183
rustc_lexer::TokenKind::Ident => {
184
SyntaxKind::from_keyword(token_text, self.edition).unwrap_or(IDENT)
185
}
186
- rustc_lexer::TokenKind::InvalidPrefix | rustc_lexer::TokenKind::InvalidIdent => {
+ rustc_lexer::TokenKind::InvalidIdent => {
187
err = "Ident contains invalid characters";
188
IDENT
189
0 commit comments