Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/syntax_highlighting.rs')
| -rw-r--r-- | crates/ide/src/syntax_highlighting.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/syntax_highlighting.rs b/crates/ide/src/syntax_highlighting.rs index c4577e6350..6b246ff709 100644 --- a/crates/ide/src/syntax_highlighting.rs +++ b/crates/ide/src/syntax_highlighting.rs @@ -303,7 +303,7 @@ fn traverse( Some(it) => it, _ => continue, }; - let token = sema.descend_into_macros(token); + let token = sema.descend_into_macros_single(token); match token.parent() { Some(parent) => { // We only care Name and Name_ref |