diff options
Diffstat (limited to 'crates/ra_ide_api/src/lib.rs')
-rw-r--r-- | crates/ra_ide_api/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs index 312b11a82..1f43b7623 100644 --- a/crates/ra_ide_api/src/lib.rs +++ b/crates/ra_ide_api/src/lib.rs | |||
@@ -52,10 +52,10 @@ use crate::{ | |||
52 | }; | 52 | }; |
53 | 53 | ||
54 | pub use crate::{ | 54 | pub use crate::{ |
55 | change::{AnalysisChange, LibraryData}, | ||
55 | completion::{CompletionItem, CompletionItemKind, InsertTextFormat}, | 56 | completion::{CompletionItem, CompletionItemKind, InsertTextFormat}, |
56 | runnables::{Runnable, RunnableKind}, | 57 | runnables::{Runnable, RunnableKind}, |
57 | navigation_target::NavigationTarget, | 58 | navigation_target::NavigationTarget, |
58 | change::{AnalysisChange, LibraryData}, | ||
59 | }; | 59 | }; |
60 | pub use ra_ide_api_light::{ | 60 | pub use ra_ide_api_light::{ |
61 | Fold, FoldKind, HighlightedRange, Severity, StructureNode, LocalEdit, | 61 | Fold, FoldKind, HighlightedRange, Severity, StructureNode, LocalEdit, |
@@ -373,7 +373,7 @@ impl Analysis { | |||
373 | 373 | ||
374 | /// Computes the set of diagnostics for the given file. | 374 | /// Computes the set of diagnostics for the given file. |
375 | pub fn diagnostics(&self, file_id: FileId) -> Cancelable<Vec<Diagnostic>> { | 375 | pub fn diagnostics(&self, file_id: FileId) -> Cancelable<Vec<Diagnostic>> { |
376 | self.with_db(|db| db.diagnostics(file_id)) | 376 | self.with_db(|db| diagnostics::diagnostics(db, file_id)) |
377 | } | 377 | } |
378 | 378 | ||
379 | /// Computes the type of the expression at the given position. | 379 | /// Computes the type of the expression at the given position. |