diff options
author | Aleksey Kladov <[email protected]> | 2021-06-14 11:18:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-06-14 15:45:17 +0100 |
commit | 2e8dab631b4ab429eeade7f5302e8de9dcd0b398 (patch) | |
tree | 0f75dd26d6c1b370dcb53da5bb868f1799e2203c /crates/ide_diagnostics/src | |
parent | 1d2772c2c7dc0a42d8a9429d24ea41412add61b3 (diff) |
internal: prepare to move assist definitions
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); |