aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_db/src')
-rw-r--r--crates/ide_db/src/lib.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/ide_db/src/lib.rs b/crates/ide_db/src/lib.rs
index d478841e2..e8cafba43 100644
--- a/crates/ide_db/src/lib.rs
+++ b/crates/ide_db/src/lib.rs
@@ -136,6 +136,12 @@ fn line_index(db: &dyn LineIndexDatabase, file_id: FileId) -> Arc<LineIndex> {
136} 136}
137 137
138#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] 138#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
139pub enum StructureNodeKind {
140 SymbolKind(SymbolKind),
141 Region,
142}
143
144#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
139pub enum SymbolKind { 145pub enum SymbolKind {
140 Const, 146 Const,
141 ConstParam, 147 ConstParam,
@@ -148,7 +154,6 @@ pub enum SymbolKind {
148 Local, 154 Local,
149 Macro, 155 Macro,
150 Module, 156 Module,
151 Region,
152 SelfParam, 157 SelfParam,
153 Static, 158 Static,
154 Struct, 159 Struct,