From a872ebf81f20815501299ae562c39bb9c872ba47 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sun, 24 Jan 2021 01:32:52 +0100 Subject: Support unions in symbol search --- crates/ide/src/display/navigation_target.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ide/src') diff --git a/crates/ide/src/display/navigation_target.rs b/crates/ide/src/display/navigation_target.rs index 16fa828ad..f178dd744 100644 --- a/crates/ide/src/display/navigation_target.rs +++ b/crates/ide/src/display/navigation_target.rs @@ -173,6 +173,7 @@ impl ToNav for FileSymbol { FileSymbolKind::Const => SymbolKind::Const, FileSymbolKind::Static => SymbolKind::Static, FileSymbolKind::Macro => SymbolKind::Macro, + FileSymbolKind::Union => SymbolKind::Union, }), full_range: self.range, focus_range: self.name_range, -- cgit v1.2.3