aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/diagnostics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_ty/src/diagnostics.rs')
-rw-r--r--crates/ra_hir_ty/src/diagnostics.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_ty/src/diagnostics.rs b/crates/ra_hir_ty/src/diagnostics.rs
index 55c02c1fe..bf35d2d0e 100644
--- a/crates/ra_hir_ty/src/diagnostics.rs
+++ b/crates/ra_hir_ty/src/diagnostics.rs
@@ -8,8 +8,8 @@ use std::any::Any;
8use hir_def::DefWithBodyId; 8use hir_def::DefWithBodyId;
9use hir_expand::diagnostics::{Diagnostic, DiagnosticSink}; 9use hir_expand::diagnostics::{Diagnostic, DiagnosticSink};
10use hir_expand::{name::Name, HirFileId, InFile}; 10use hir_expand::{name::Name, HirFileId, InFile};
11use ra_syntax::{ast, AstPtr, SyntaxNodePtr};
12use stdx::format_to; 11use stdx::format_to;
12use syntax::{ast, AstPtr, SyntaxNodePtr};
13 13
14use crate::db::HirDatabase; 14use crate::db::HirDatabase;
15 15
@@ -214,8 +214,8 @@ mod tests {
214 diagnostics::{Diagnostic, DiagnosticSinkBuilder}, 214 diagnostics::{Diagnostic, DiagnosticSinkBuilder},
215 }; 215 };
216 use ra_db::{fixture::WithFixture, FileId, SourceDatabase, SourceDatabaseExt}; 216 use ra_db::{fixture::WithFixture, FileId, SourceDatabase, SourceDatabaseExt};
217 use ra_syntax::{TextRange, TextSize};
218 use rustc_hash::FxHashMap; 217 use rustc_hash::FxHashMap;
218 use syntax::{TextRange, TextSize};
219 219
220 use crate::{diagnostics::validate_body, test_db::TestDB}; 220 use crate::{diagnostics::validate_body, test_db::TestDB};
221 221