aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-01-20 17:38:12 +0000
committerLukas Wirth <[email protected]>2021-01-20 17:39:46 +0000
commitf2cb7dbcb71d81336c95dc7ae1301ba2a79ef707 (patch)
treec17a9cf589910137b5388fc22856c991a5ec0a31 /crates/ide_db
parent563a175fdb9073a548fc2e161d5de0a093b0d74d (diff)
Partially unify SymbolKind and CompletionItemKind
Diffstat (limited to 'crates/ide_db')
-rw-r--r--crates/ide_db/src/lib.rs28
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)]
139pub enum SymbolKind { 139pub 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}