diff options
Diffstat (limited to 'crates/ide_diagnostics/src')
-rw-r--r-- | crates/ide_diagnostics/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ide_diagnostics/src/lib.rs b/crates/ide_diagnostics/src/lib.rs index a104a702d..0d98307a2 100644 --- a/crates/ide_diagnostics/src/lib.rs +++ b/crates/ide_diagnostics/src/lib.rs | |||
@@ -27,7 +27,6 @@ mod unresolved_proc_macro; | |||
27 | mod field_shorthand; | 27 | mod field_shorthand; |
28 | 28 | ||
29 | use hir::{diagnostics::AnyDiagnostic, Semantics}; | 29 | use hir::{diagnostics::AnyDiagnostic, Semantics}; |
30 | use ide_assists::AssistResolveStrategy; | ||
31 | use ide_db::{ | 30 | use ide_db::{ |
32 | base_db::{FileId, SourceDatabase}, | 31 | base_db::{FileId, SourceDatabase}, |
33 | label::Label, | 32 | label::Label, |
@@ -43,7 +42,7 @@ use syntax::{ | |||
43 | use text_edit::TextEdit; | 42 | use text_edit::TextEdit; |
44 | use unlinked_file::UnlinkedFile; | 43 | use unlinked_file::UnlinkedFile; |
45 | 44 | ||
46 | use ide_assists::{Assist, AssistId, AssistKind}; | 45 | use ide_assists::{Assist, AssistId, AssistKind, AssistResolveStrategy}; |
47 | 46 | ||
48 | #[derive(Copy, Clone, Debug, PartialEq)] | 47 | #[derive(Copy, Clone, Debug, PartialEq)] |
49 | pub struct DiagnosticCode(pub &'static str); | 48 | pub struct DiagnosticCode(pub &'static str); |