diff options
author | Lukas Wirth <[email protected]> | 2021-01-20 17:38:12 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-01-20 17:39:46 +0000 |
commit | f2cb7dbcb71d81336c95dc7ae1301ba2a79ef707 (patch) | |
tree | c17a9cf589910137b5388fc22856c991a5ec0a31 /crates/ide_db | |
parent | 563a175fdb9073a548fc2e161d5de0a093b0d74d (diff) |
Partially unify SymbolKind and CompletionItemKind
Diffstat (limited to 'crates/ide_db')
-rw-r--r-- | crates/ide_db/src/lib.rs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/crates/ide_db/src/lib.rs b/crates/ide_db/src/lib.rs index ee35d02f5..6eb34b06b 100644 --- a/crates/ide_db/src/lib.rs +++ b/crates/ide_db/src/lib.rs | |||
@@ -137,24 +137,24 @@ fn line_index(db: &dyn LineIndexDatabase, file_id: FileId) -> Arc<LineIndex> { | |||
137 | 137 | ||
138 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] | 138 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] |
139 | pub enum SymbolKind { | 139 | pub enum SymbolKind { |
140 | Module, | 140 | Const, |
141 | Impl, | ||
142 | Field, | ||
143 | TypeParam, | ||
144 | ConstParam, | 141 | ConstParam, |
142 | Enum, | ||
143 | Field, | ||
144 | Function, | ||
145 | Impl, | ||
146 | Label, | ||
145 | LifetimeParam, | 147 | LifetimeParam, |
146 | ValueParam, | ||
147 | SelfParam, | ||
148 | Local, | 148 | Local, |
149 | Label, | 149 | Macro, |
150 | Function, | 150 | Module, |
151 | Const, | 151 | SelfParam, |
152 | Static, | 152 | Static, |
153 | Struct, | 153 | Struct, |
154 | Enum, | ||
155 | Variant, | ||
156 | Union, | ||
157 | TypeAlias, | ||
158 | Trait, | 154 | Trait, |
159 | Macro, | 155 | TypeAlias, |
156 | TypeParam, | ||
157 | Union, | ||
158 | ValueParam, | ||
159 | Variant, | ||
160 | } | 160 | } |