mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Move change to ide-db
This commit is contained in:
parent
ee76e6141e
commit
1bfb111cf9
3 changed files with 5 additions and 5 deletions
|
@ -13,9 +13,9 @@ use ra_syntax::SourceFile;
|
||||||
use rayon::prelude::*;
|
use rayon::prelude::*;
|
||||||
use rustc_hash::FxHashMap;
|
use rustc_hash::FxHashMap;
|
||||||
|
|
||||||
use crate::{
|
use crate::ide_db::{
|
||||||
db::{DebugData, RootDatabase},
|
symbol_index::{SymbolIndex, SymbolsDatabase},
|
||||||
ide_db::symbol_index::{SymbolIndex, SymbolsDatabase},
|
DebugData, RootDatabase,
|
||||||
};
|
};
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
|
@ -4,6 +4,7 @@ pub mod line_index;
|
||||||
pub mod line_index_utils;
|
pub mod line_index_utils;
|
||||||
pub mod feature_flags;
|
pub mod feature_flags;
|
||||||
pub mod symbol_index;
|
pub mod symbol_index;
|
||||||
|
pub mod change;
|
||||||
|
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ mod ide_db;
|
||||||
|
|
||||||
mod db;
|
mod db;
|
||||||
pub mod mock_analysis;
|
pub mod mock_analysis;
|
||||||
mod change;
|
|
||||||
mod source_change;
|
mod source_change;
|
||||||
|
|
||||||
mod status;
|
mod status;
|
||||||
|
@ -67,7 +66,6 @@ use crate::{
|
||||||
pub use crate::{
|
pub use crate::{
|
||||||
assists::{Assist, AssistId},
|
assists::{Assist, AssistId},
|
||||||
call_hierarchy::CallItem,
|
call_hierarchy::CallItem,
|
||||||
change::{AnalysisChange, LibraryData},
|
|
||||||
completion::{CompletionItem, CompletionItemKind, InsertTextFormat},
|
completion::{CompletionItem, CompletionItemKind, InsertTextFormat},
|
||||||
diagnostics::Severity,
|
diagnostics::Severity,
|
||||||
display::{file_structure, FunctionSignature, NavigationTarget, StructureNode},
|
display::{file_structure, FunctionSignature, NavigationTarget, StructureNode},
|
||||||
|
@ -75,6 +73,7 @@ pub use crate::{
|
||||||
folding_ranges::{Fold, FoldKind},
|
folding_ranges::{Fold, FoldKind},
|
||||||
hover::HoverResult,
|
hover::HoverResult,
|
||||||
ide_db::{
|
ide_db::{
|
||||||
|
change::{AnalysisChange, LibraryData},
|
||||||
feature_flags::FeatureFlags,
|
feature_flags::FeatureFlags,
|
||||||
line_index::{LineCol, LineIndex},
|
line_index::{LineCol, LineIndex},
|
||||||
line_index_utils::translate_offset_with_edit,
|
line_index_utils::translate_offset_with_edit,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue