mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
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.
This commit is contained in:
parent
cec676d082
commit
5dcdf2ceee
5 changed files with 12 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue