mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-30 03:27:44 +00:00
Auto-attach database in Analysis calls
This commit is contained in:
parent
becf04b67a
commit
aed0fec1a9
12 changed files with 137 additions and 101 deletions
|
|
@ -289,8 +289,7 @@ impl<'a> Converter<'a> {
|
|||
|
||||
let error_msg = if has_unterminated {
|
||||
format!(
|
||||
"unknown literal prefix `{}` (note: check for unterminated string literal)",
|
||||
token_text
|
||||
"unknown literal prefix `{token_text}` (note: check for unterminated string literal)"
|
||||
)
|
||||
} else {
|
||||
"unknown literal prefix".to_owned()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue