diff options
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 363c72c0b..776010281 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs | |||
@@ -13,6 +13,7 @@ mod imp; | |||
13 | mod symbol_index; | 13 | mod symbol_index; |
14 | mod completion; | 14 | mod completion; |
15 | mod syntax_ptr; | 15 | mod syntax_ptr; |
16 | mod mock_analysis; | ||
16 | 17 | ||
17 | use std::{ | 18 | use std::{ |
18 | fmt, | 19 | fmt, |
@@ -29,11 +30,13 @@ use crate::{ | |||
29 | }; | 30 | }; |
30 | 31 | ||
31 | pub use crate::{ | 32 | pub use crate::{ |
32 | descriptors::FnDescriptor, | 33 | descriptors::function::FnDescriptor, |
33 | input::{FileId, FileResolver, CrateGraph, CrateId} | 34 | completion::CompletionItem, |
35 | input::{FileId, FileResolver, CrateGraph, CrateId}, | ||
36 | mock_analysis::MockAnalysis, | ||
34 | }; | 37 | }; |
35 | pub use ra_editor::{ | 38 | pub use ra_editor::{ |
36 | CompletionItem, FileSymbol, Fold, FoldKind, HighlightedRange, LineIndex, Runnable, | 39 | FileSymbol, Fold, FoldKind, HighlightedRange, LineIndex, Runnable, |
37 | RunnableKind, StructureNode, | 40 | RunnableKind, StructureNode, |
38 | }; | 41 | }; |
39 | 42 | ||
@@ -197,7 +200,7 @@ impl Query { | |||
197 | 200 | ||
198 | #[derive(Debug)] | 201 | #[derive(Debug)] |
199 | pub struct Analysis { | 202 | pub struct Analysis { |
200 | imp: AnalysisImpl, | 203 | pub(crate) imp: AnalysisImpl, |
201 | } | 204 | } |
202 | 205 | ||
203 | impl Analysis { | 206 | impl Analysis { |