mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-04 01:08:47 +00:00
Auto merge of #3494 - rust-lang:rustup-2024-04-20, r=RalfJung
Automatic Rustup
This commit is contained in:
commit
2414775435
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ impl<'a> Converter<'a> {
|
||||||
rustc_lexer::TokenKind::Ident => {
|
rustc_lexer::TokenKind::Ident => {
|
||||||
SyntaxKind::from_keyword(token_text).unwrap_or(IDENT)
|
SyntaxKind::from_keyword(token_text).unwrap_or(IDENT)
|
||||||
}
|
}
|
||||||
rustc_lexer::TokenKind::InvalidIdent => {
|
rustc_lexer::TokenKind::InvalidPrefix | rustc_lexer::TokenKind::InvalidIdent => {
|
||||||
err = "Ident contains invalid characters";
|
err = "Ident contains invalid characters";
|
||||||
IDENT
|
IDENT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue