aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_diagnostics/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ide_diagnostics/src')
-rw-r--r--crates/ide_diagnostics/src/lib.rs3
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;
27mod field_shorthand; 27mod field_shorthand;
28 28
29use hir::{diagnostics::AnyDiagnostic, Semantics}; 29use hir::{diagnostics::AnyDiagnostic, Semantics};
30use ide_assists::AssistResolveStrategy;
31use ide_db::{ 30use ide_db::{
32 base_db::{FileId, SourceDatabase}, 31 base_db::{FileId, SourceDatabase},
33 label::Label, 32 label::Label,
@@ -43,7 +42,7 @@ use syntax::{
43use text_edit::TextEdit; 42use text_edit::TextEdit;
44use unlinked_file::UnlinkedFile; 43use unlinked_file::UnlinkedFile;
45 44
46use ide_assists::{Assist, AssistId, AssistKind}; 45use ide_assists::{Assist, AssistId, AssistKind, AssistResolveStrategy};
47 46
48#[derive(Copy, Clone, Debug, PartialEq)] 47#[derive(Copy, Clone, Debug, PartialEq)]
49pub struct DiagnosticCode(pub &'static str); 48pub struct DiagnosticCode(pub &'static str);