Skip to content

Commit 6f8286d

Browse files
committed
Merge from rust-lang/rust
2 parents 555c6f6 + 7e5d40a commit 6f8286d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/parser/src/lexed_str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ impl<'a> Converter<'a> {
183183
rustc_lexer::TokenKind::Ident => {
184184
SyntaxKind::from_keyword(token_text, self.edition).unwrap_or(IDENT)
185185
}
186-
rustc_lexer::TokenKind::InvalidPrefix | rustc_lexer::TokenKind::InvalidIdent => {
186+
rustc_lexer::TokenKind::InvalidIdent => {
187187
err = "Ident contains invalid characters";
188188
IDENT
189189
}

0 commit comments

Comments
 (0)