mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Resolve implicit format args in syntax highlighting
This commit is contained in:
parent
d2cd30007c
commit
fe0a85ca29
9 changed files with 136 additions and 74 deletions
|
@ -440,7 +440,7 @@ fn traverse(
|
|||
{
|
||||
continue;
|
||||
}
|
||||
highlight_format_string(hl, &string, &expanded_string, range);
|
||||
highlight_format_string(hl, sema, krate, &string, &expanded_string, range);
|
||||
|
||||
if !string.is_raw() {
|
||||
highlight_escape_string(hl, &string, range.start());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue