Move type

This commit is contained in:
Aleksey Kladov
2020-07-16 10:29:21 +02:00
parent 1d63b3efc9
commit bb2613ed4d
2 changed files with 10 additions and 9 deletions

View File

@@ -60,6 +60,7 @@ use crate::display::ToNav;
pub use crate::{
call_hierarchy::CallItem,
call_info::CallInfo,
completion::{
CompletionConfig, CompletionItem, CompletionItemKind, CompletionScore, InsertTextFormat,
},
@@ -131,14 +132,6 @@ impl<T> RangeInfo<T> {
}
}
/// Contains information about a call site. Specifically the
/// `FunctionSignature`and current parameter.
#[derive(Debug)]
pub struct CallInfo {
pub signature: FunctionSignature,
pub active_parameter: Option<usize>,
}
/// `AnalysisHost` stores the current state of the world.
#[derive(Debug)]
pub struct AnalysisHost {