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 3238ab8 + 8f1a63c commit 2414775Copy full SHA for 2414775
crates/parser/src/lexed_str.rs
@@ -178,7 +178,7 @@ impl<'a> Converter<'a> {
178
rustc_lexer::TokenKind::Ident => {
179
SyntaxKind::from_keyword(token_text).unwrap_or(IDENT)
180
}
181
- rustc_lexer::TokenKind::InvalidIdent => {
+ rustc_lexer::TokenKind::InvalidPrefix | rustc_lexer::TokenKind::InvalidIdent => {
182
err = "Ident contains invalid characters";
183
IDENT
184
0 commit comments