aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/lib.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-16 09:29:21 +0100
committerAleksey Kladov <[email protected]>2020-07-16 09:29:21 +0100
commitbb2613ed4d23f6104d0a2648352bff111292373a (patch)
tree200c03cdf33711140cc53edb629bd63ea5da174e /crates/ra_ide/src/lib.rs
parent1d63b3efc918d8d72273b90935e4ddd51400be22 (diff)
Move type
Diffstat (limited to 'crates/ra_ide/src/lib.rs')
-rw-r--r--crates/ra_ide/src/lib.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs
index 6a4f5cb3d..5d1f64e19 100644
--- a/crates/ra_ide/src/lib.rs
+++ b/crates/ra_ide/src/lib.rs
@@ -60,6 +60,7 @@ use crate::display::ToNav;
60 60
61pub use crate::{ 61pub use crate::{
62 call_hierarchy::CallItem, 62 call_hierarchy::CallItem,
63 call_info::CallInfo,
63 completion::{ 64 completion::{
64 CompletionConfig, CompletionItem, CompletionItemKind, CompletionScore, InsertTextFormat, 65 CompletionConfig, CompletionItem, CompletionItemKind, CompletionScore, InsertTextFormat,
65 }, 66 },
@@ -131,14 +132,6 @@ impl<T> RangeInfo<T> {
131 } 132 }
132} 133}
133 134
134/// Contains information about a call site. Specifically the
135/// `FunctionSignature`and current parameter.
136#[derive(Debug)]
137pub struct CallInfo {
138 pub signature: FunctionSignature,
139 pub active_parameter: Option<usize>,
140}
141
142/// `AnalysisHost` stores the current state of the world. 135/// `AnalysisHost` stores the current state of the world.
143#[derive(Debug)] 136#[derive(Debug)]
144pub struct AnalysisHost { 137pub struct AnalysisHost {