diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-24 00:42:59 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-24 00:42:59 +0000 |
commit | a7a1bb444d59732e3973b7b2d5b27413c5a1ca81 (patch) | |
tree | ab1e96340ba6717daec0bd0d3051230463c2916f /crates/ide | |
parent | 89fef5307e81d5d23bb65677000f35332190661a (diff) | |
parent | a872ebf81f20815501299ae562c39bb9c872ba47 (diff) |
Merge #7413
7413: Handle unions in symbol search r=Veykril a=Veykril
bors r+
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/src/display/navigation_target.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
173 | FileSymbolKind::Const => SymbolKind::Const, | 173 | FileSymbolKind::Const => SymbolKind::Const, |
174 | FileSymbolKind::Static => SymbolKind::Static, | 174 | FileSymbolKind::Static => SymbolKind::Static, |
175 | FileSymbolKind::Macro => SymbolKind::Macro, | 175 | FileSymbolKind::Macro => SymbolKind::Macro, |
176 | FileSymbolKind::Union => SymbolKind::Union, | ||
176 | }), | 177 | }), |
177 | full_range: self.range, | 178 | full_range: self.range, |
178 | focus_range: self.name_range, | 179 | focus_range: self.name_range, |