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 8027a42 + 8cb32b5 commit a3833beCopy full SHA for a3833be
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