about summary refs log tree commit diff
path: root/crates/ide/src/annotations.rs
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2021-03-15 12:55:27 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2021-03-15 12:55:27 +0300
commit5dcdf2ceee2d9fcce9bb2bc5dcbafd5dbfc722b1 (patch)
treeb83064da602dc881b15623959553aabc8b31bf91 /crates/ide/src/annotations.rs
parentcec676d08236076a48a9fdae28cf0e716ae99b16 (diff)
downloadrust-5dcdf2ceee2d9fcce9bb2bc5dcbafd5dbfc722b1.tar.gz
rust-5dcdf2ceee2d9fcce9bb2bc5dcbafd5dbfc722b1.zip
Move code to the appropriate layer
StructureNodeKind is a type which is specific to a particular feature,
file_structure. It shouldn't be in the "code shared by all ide features"
part.
Diffstat (limited to 'crates/ide/src/annotations.rs')
-rw-r--r--crates/ide/src/annotations.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/annotations.rs b/crates/ide/src/annotations.rs
index fd317874e04..8e0a8fd8de2 100644
--- a/crates/ide/src/annotations.rs
+++ b/crates/ide/src/annotations.rs
@@ -1,7 +1,7 @@
 use hir::Semantics;
 use ide_db::{
     base_db::{FileId, FilePosition, FileRange, SourceDatabase},
-    RootDatabase, StructureNodeKind, SymbolKind,
+    RootDatabase, SymbolKind,
 };
 use syntax::TextRange;
 
@@ -11,7 +11,7 @@ use crate::{
     goto_implementation::goto_implementation,
     references::find_all_refs,
     runnables::{runnables, Runnable},
-    NavigationTarget, RunnableKind,
+    NavigationTarget, RunnableKind, StructureNodeKind,
 };
 
 // Feature: Annotations