mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Bump rustc crates
This commit is contained in:
parent
7ae97c1ef1
commit
2fe603efe7
3 changed files with 20 additions and 19 deletions
|
@ -188,10 +188,11 @@ impl<'a> Converter<'a> {
|
|||
|
||||
rustc_lexer::TokenKind::RawIdent => IDENT,
|
||||
|
||||
rustc_lexer::TokenKind::GuardedStrPrefix => {
|
||||
rustc_lexer::TokenKind::GuardedStrPrefix if self.edition.at_least_2024() => {
|
||||
err = "Invalid string literal (reserved syntax)";
|
||||
ERROR
|
||||
},
|
||||
}
|
||||
rustc_lexer::TokenKind::GuardedStrPrefix => POUND,
|
||||
|
||||
rustc_lexer::TokenKind::Literal { kind, .. } => {
|
||||
self.extend_literal(token_text.len(), kind);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue