Resolve implicit format args in syntax highlighting

This commit is contained in:
Lukas Wirth 2023-12-05 16:30:57 +01:00
parent d2cd30007c
commit fe0a85ca29
9 changed files with 136 additions and 74 deletions

View file

@ -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());