mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +00:00
Merge from rust-lang/rust
This commit is contained in:
commit
7ae97c1ef1
@ -187,6 +187,12 @@ impl<'a> Converter<'a> {
|
||||
}
|
||||
|
||||
rustc_lexer::TokenKind::RawIdent => IDENT,
|
||||
|
||||
rustc_lexer::TokenKind::GuardedStrPrefix => {
|
||||
err = "Invalid string literal (reserved syntax)";
|
||||
ERROR
|
||||
},
|
||||
|
||||
rustc_lexer::TokenKind::Literal { kind, .. } => {
|
||||
self.extend_literal(token_text.len(), kind);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user