diff options
author | Aleksey Kladov <[email protected]> | 2020-07-09 14:34:37 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-09 14:34:37 +0100 |
commit | b3985190114233861132b0f479731f00380e1342 (patch) | |
tree | 540821f564832f0f55fabb314fd486728268c33d /crates/flycheck/src | |
parent | 117392e879f2732aacd029189de844bda286df2c (diff) |
Cleanup diagnostic conversion code
Diffstat (limited to 'crates/flycheck/src')
-rw-r--r-- | crates/flycheck/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs index 844b093d4..6804d9bda 100644 --- a/crates/flycheck/src/lib.rs +++ b/crates/flycheck/src/lib.rs | |||
@@ -14,7 +14,8 @@ use std::{ | |||
14 | use crossbeam_channel::{never, select, unbounded, Receiver, Sender}; | 14 | use crossbeam_channel::{never, select, unbounded, Receiver, Sender}; |
15 | 15 | ||
16 | pub use cargo_metadata::diagnostic::{ | 16 | pub use cargo_metadata::diagnostic::{ |
17 | Applicability, Diagnostic, DiagnosticLevel, DiagnosticSpan, DiagnosticSpanMacroExpansion, | 17 | Applicability, Diagnostic, DiagnosticCode, DiagnosticLevel, DiagnosticSpan, |
18 | DiagnosticSpanMacroExpansion, | ||
18 | }; | 19 | }; |
19 | 20 | ||
20 | #[derive(Clone, Debug, PartialEq, Eq)] | 21 | #[derive(Clone, Debug, PartialEq, Eq)] |