diff options
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 830898140..a029f66b4 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs | |||
@@ -29,11 +29,10 @@ use crate::{ | |||
29 | symbol_index::SymbolIndex, | 29 | symbol_index::SymbolIndex, |
30 | }; | 30 | }; |
31 | 31 | ||
32 | pub use crate::{ | 32 | pub use crate::completion::{CompletionItem, CompletionItemKind, InsertText}; |
33 | completion::{CompletionItem, CompletionItemKind, InsertText}, | ||
34 | }; | ||
35 | pub use ra_editor::{ | 33 | pub use ra_editor::{ |
36 | FileSymbol, Fold, FoldKind, HighlightedRange, LineIndex, Runnable, RunnableKind, StructureNode, | 34 | FileSymbol, Fold, FoldKind, HighlightedRange, LineIndex, Runnable, RunnableKind, StructureNode, |
35 | Severity | ||
37 | }; | 36 | }; |
38 | pub use hir::FnSignatureInfo; | 37 | pub use hir::FnSignatureInfo; |
39 | 38 | ||
@@ -198,6 +197,7 @@ pub struct Diagnostic { | |||
198 | pub message: String, | 197 | pub message: String, |
199 | pub range: TextRange, | 198 | pub range: TextRange, |
200 | pub fix: Option<SourceChange>, | 199 | pub fix: Option<SourceChange>, |
200 | pub severity: Severity, | ||
201 | } | 201 | } |
202 | 202 | ||
203 | #[derive(Debug)] | 203 | #[derive(Debug)] |