From c45221907adde640208a9e52636f4845d4654994 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 18 Dec 2020 23:00:43 +0300 Subject: Deduplicate highlight tags and symbol kinds Curiously, LSP uses different enums for those, and unsurprising and annoyingly, there are things which exist in one but not in the other. Let's not repeat the mistake and unify the two things --- crates/ide/src/references.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ide/src/references.rs') diff --git a/crates/ide/src/references.rs b/crates/ide/src/references.rs index 8c00a7105..18ea19305 100644 --- a/crates/ide/src/references.rs +++ b/crates/ide/src/references.rs @@ -546,7 +546,7 @@ fn bar() { fn foo(i : u32) -> u32 { i<|> } "#, expect![[r#" - i Local FileId(0) 7..8 Other + i ValueParam FileId(0) 7..8 Other FileId(0) 25..26 Other Read "#]], @@ -560,7 +560,7 @@ fn foo(i : u32) -> u32 { i<|> } fn foo(i<|> : u32) -> u32 { i } "#, expect![[r#" - i Local FileId(0) 7..8 Other + i ValueParam FileId(0) 7..8 Other FileId(0) 25..26 Other Read "#]], -- cgit v1.2.3