Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/syntax_highlighting/highlight.rs')
| -rw-r--r-- | crates/ide/src/syntax_highlighting/highlight.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide/src/syntax_highlighting/highlight.rs b/crates/ide/src/syntax_highlighting/highlight.rs index fa9fe1aef8..2f4dab4967 100644 --- a/crates/ide/src/syntax_highlighting/highlight.rs +++ b/crates/ide/src/syntax_highlighting/highlight.rs @@ -286,7 +286,7 @@ fn highlight_name_ref( // within a function with a self param, pretend to still be `self`, rather than // an unresolved reference. if name_ref.self_token().is_some() && is_in_fn_with_self_param(&name_ref) { - HlTag::Symbol(SymbolKind::SelfParam).into() + SymbolKind::SelfParam.into() } else { HlTag::UnresolvedReference.into() } |