aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libanalysis')
-rw-r--r--crates/libanalysis/src/symbol_index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libanalysis/src/symbol_index.rs b/crates/libanalysis/src/symbol_index.rs
index a7ae197e0..35141cfdc 100644
--- a/crates/libanalysis/src/symbol_index.rs
+++ b/crates/libanalysis/src/symbol_index.rs
@@ -68,7 +68,7 @@ impl Query {
68 ) -> Vec<&'a FileSymbol> { 68 ) -> Vec<&'a FileSymbol> {
69 fn is_type(kind: SyntaxKind) -> bool { 69 fn is_type(kind: SyntaxKind) -> bool {
70 match kind { 70 match kind {
71 STRUCT | ENUM | TRAIT | TYPE_ITEM => true, 71 STRUCT_DEF | ENUM_DEF | TRAIT_DEF | TYPE_DEF => true,
72 _ => false, 72 _ => false,
73 } 73 }
74 } 74 }