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:
Aleksey Kladov 2021-03-15 12:55:27 +03:00
parent cec676d082
commit 5dcdf2ceee
5 changed files with 12 additions and 13 deletions

View file

@ -71,7 +71,7 @@ pub use crate::{
diagnostics::{Diagnostic, DiagnosticsConfig, Fix, Severity},
display::navigation_target::NavigationTarget,
expand_macro::ExpandedMacro,
file_structure::StructureNode,
file_structure::{StructureNode, StructureNodeKind},
folding_ranges::{Fold, FoldKind},
hover::{HoverAction, HoverConfig, HoverGotoTypeData, HoverResult},
inlay_hints::{InlayHint, InlayHintsConfig, InlayKind},
@ -101,7 +101,7 @@ pub use ide_db::{
search::{ReferenceAccess, SearchScope},
source_change::{FileSystemEdit, SourceChange},
symbol_index::Query,
RootDatabase,
RootDatabase, SymbolKind,
};
pub use ide_ssr::SsrError;
pub use syntax::{TextRange, TextSize};