diff options
author | Aleksey Kladov <[email protected]> | 2020-02-06 11:35:40 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-06 11:35:40 +0000 |
commit | 1bfb111cf9ab938a8795f1ad2089cdd8b8c4b7a5 (patch) | |
tree | e52b0c00c164d64ee160a95772c92262dad42164 /crates/ra_ide | |
parent | ee76e6141e3a6d2dd9c80e260294a4c6360e9fc7 (diff) |
Move change to ide-db
Diffstat (limited to 'crates/ra_ide')
-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, |