diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_ide/src/ide_db/change.rs (renamed from crates/ra_ide/src/change.rs) | 6 | ||||
-rw-r--r-- | crates/ra_ide/src/ide_db/mod.rs | 1 | ||||
-rw-r--r-- | crates/ra_ide/src/lib.rs | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_ide/src/change.rs b/crates/ra_ide/src/ide_db/change.rs index a0aeee1f7..62ffa6920 100644 --- a/crates/ra_ide/src/change.rs +++ b/crates/ra_ide/src/ide_db/change.rs | |||
@@ -13,9 +13,9 @@ use ra_syntax::SourceFile; | |||
13 | use rayon::prelude::*; | 13 | use rayon::prelude::*; |
14 | use rustc_hash::FxHashMap; | 14 | use rustc_hash::FxHashMap; |
15 | 15 | ||
16 | use crate::{ | 16 | use crate::ide_db::{ |
17 | db::{DebugData, RootDatabase}, | 17 | symbol_index::{SymbolIndex, SymbolsDatabase}, |
18 | ide_db::symbol_index::{SymbolIndex, SymbolsDatabase}, | 18 | DebugData, RootDatabase, |
19 | }; | 19 | }; |
20 | 20 | ||
21 | #[derive(Default)] | 21 | #[derive(Default)] |
diff --git a/crates/ra_ide/src/ide_db/mod.rs b/crates/ra_ide/src/ide_db/mod.rs index 924ee9968..0df4d510f 100644 --- a/crates/ra_ide/src/ide_db/mod.rs +++ b/crates/ra_ide/src/ide_db/mod.rs | |||
@@ -4,6 +4,7 @@ pub mod line_index; | |||
4 | pub mod line_index_utils; | 4 | pub mod line_index_utils; |
5 | pub mod feature_flags; | 5 | pub mod feature_flags; |
6 | pub mod symbol_index; | 6 | pub mod symbol_index; |
7 | pub mod change; | ||
7 | 8 | ||
8 | use std::sync::Arc; | 9 | use std::sync::Arc; |
9 | 10 | ||
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index 109b5ad9f..66f365cc3 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs | |||
@@ -14,7 +14,6 @@ mod ide_db; | |||
14 | 14 | ||
15 | mod db; | 15 | mod db; |
16 | pub mod mock_analysis; | 16 | pub mod mock_analysis; |
17 | mod change; | ||
18 | mod source_change; | 17 | mod source_change; |
19 | 18 | ||
20 | mod status; | 19 | mod status; |
@@ -67,7 +66,6 @@ use crate::{ | |||
67 | pub use crate::{ | 66 | pub use crate::{ |
68 | assists::{Assist, AssistId}, | 67 | assists::{Assist, AssistId}, |
69 | call_hierarchy::CallItem, | 68 | call_hierarchy::CallItem, |
70 | change::{AnalysisChange, LibraryData}, | ||
71 | completion::{CompletionItem, CompletionItemKind, InsertTextFormat}, | 69 | completion::{CompletionItem, CompletionItemKind, InsertTextFormat}, |
72 | diagnostics::Severity, | 70 | diagnostics::Severity, |
73 | display::{file_structure, FunctionSignature, NavigationTarget, StructureNode}, | 71 | display::{file_structure, FunctionSignature, NavigationTarget, StructureNode}, |
@@ -75,6 +73,7 @@ pub use crate::{ | |||
75 | folding_ranges::{Fold, FoldKind}, | 73 | folding_ranges::{Fold, FoldKind}, |
76 | hover::HoverResult, | 74 | hover::HoverResult, |
77 | ide_db::{ | 75 | ide_db::{ |
76 | change::{AnalysisChange, LibraryData}, | ||
78 | feature_flags::FeatureFlags, | 77 | feature_flags::FeatureFlags, |
79 | line_index::{LineCol, LineIndex}, | 78 | line_index::{LineCol, LineIndex}, |
80 | line_index_utils::translate_offset_with_edit, | 79 | line_index_utils::translate_offset_with_edit, |