diff options
Diffstat (limited to 'crates/ide_diagnostics/src/lib.rs')
-rw-r--r-- | crates/ide_diagnostics/src/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/ide_diagnostics/src/lib.rs b/crates/ide_diagnostics/src/lib.rs index 0d98307a2..2a16c73a8 100644 --- a/crates/ide_diagnostics/src/lib.rs +++ b/crates/ide_diagnostics/src/lib.rs | |||
@@ -28,6 +28,7 @@ mod field_shorthand; | |||
28 | 28 | ||
29 | use hir::{diagnostics::AnyDiagnostic, Semantics}; | 29 | use hir::{diagnostics::AnyDiagnostic, Semantics}; |
30 | use ide_db::{ | 30 | use ide_db::{ |
31 | assists::{Assist, AssistId, AssistKind, AssistResolveStrategy}, | ||
31 | base_db::{FileId, SourceDatabase}, | 32 | base_db::{FileId, SourceDatabase}, |
32 | label::Label, | 33 | label::Label, |
33 | source_change::SourceChange, | 34 | source_change::SourceChange, |
@@ -42,8 +43,6 @@ use syntax::{ | |||
42 | use text_edit::TextEdit; | 43 | use text_edit::TextEdit; |
43 | use unlinked_file::UnlinkedFile; | 44 | use unlinked_file::UnlinkedFile; |
44 | 45 | ||
45 | use ide_assists::{Assist, AssistId, AssistKind, AssistResolveStrategy}; | ||
46 | |||
47 | #[derive(Copy, Clone, Debug, PartialEq)] | 46 | #[derive(Copy, Clone, Debug, PartialEq)] |
48 | pub struct DiagnosticCode(pub &'static str); | 47 | pub struct DiagnosticCode(pub &'static str); |
49 | 48 | ||
@@ -265,8 +264,8 @@ fn unresolved_fix(id: &'static str, label: &str, target: TextRange) -> Assist { | |||
265 | #[cfg(test)] | 264 | #[cfg(test)] |
266 | mod tests { | 265 | mod tests { |
267 | use expect_test::Expect; | 266 | use expect_test::Expect; |
268 | use ide_assists::AssistResolveStrategy; | ||
269 | use ide_db::{ | 267 | use ide_db::{ |
268 | assists::AssistResolveStrategy, | ||
270 | base_db::{fixture::WithFixture, SourceDatabaseExt}, | 269 | base_db::{fixture::WithFixture, SourceDatabaseExt}, |
271 | RootDatabase, | 270 | RootDatabase, |
272 | }; | 271 | }; |