mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Support unions in symbol search
This commit is contained in:
parent
89fef5307e
commit
a872ebf81f
3 changed files with 13 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue