mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Merge from rust-lang/rust
This commit is contained in:
commit
7ae97c1ef1
1 changed files with 6 additions and 0 deletions
|
@ -187,6 +187,12 @@ impl<'a> Converter<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
rustc_lexer::TokenKind::RawIdent => IDENT,
|
rustc_lexer::TokenKind::RawIdent => IDENT,
|
||||||
|
|
||||||
|
rustc_lexer::TokenKind::GuardedStrPrefix => {
|
||||||
|
err = "Invalid string literal (reserved syntax)";
|
||||||
|
ERROR
|
||||||
|
},
|
||||||
|
|
||||||
rustc_lexer::TokenKind::Literal { kind, .. } => {
|
rustc_lexer::TokenKind::Literal { kind, .. } => {
|
||||||
self.extend_literal(token_text.len(), kind);
|
self.extend_literal(token_text.len(), kind);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue