aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_diagnostics/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-06-14 11:18:03 +0100
committerAleksey Kladov <[email protected]>2021-06-14 15:45:17 +0100
commit2e8dab631b4ab429eeade7f5302e8de9dcd0b398 (patch)
tree0f75dd26d6c1b370dcb53da5bb868f1799e2203c /crates/ide_diagnostics/src
parent1d2772c2c7dc0a42d8a9429d24ea41412add61b3 (diff)
internal: prepare to move assist definitions
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);