From c1a7b72fb7c9b69779e490e1d692ddfccec8b57a Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 13 Aug 2018 18:27:26 +0300 Subject: renames --- crates/libanalysis/src/symbol_index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/libanalysis') 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 { ) -> Vec<&'a FileSymbol> { fn is_type(kind: SyntaxKind) -> bool { match kind { - STRUCT | ENUM | TRAIT | TYPE_ITEM => true, + STRUCT_DEF | ENUM_DEF | TRAIT_DEF | TYPE_DEF => true, _ => false, } } -- cgit v1.2.3