diff options
Diffstat (limited to 'crates/ra_hir_ty/src/diagnostics.rs')
-rw-r--r-- | crates/ra_hir_ty/src/diagnostics.rs | 4 |
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; | |||
8 | use hir_def::DefWithBodyId; | 8 | use hir_def::DefWithBodyId; |
9 | use hir_expand::diagnostics::{Diagnostic, DiagnosticSink}; | 9 | use hir_expand::diagnostics::{Diagnostic, DiagnosticSink}; |
10 | use hir_expand::{name::Name, HirFileId, InFile}; | 10 | use hir_expand::{name::Name, HirFileId, InFile}; |
11 | use ra_syntax::{ast, AstPtr, SyntaxNodePtr}; | ||
12 | use stdx::format_to; | 11 | use stdx::format_to; |
12 | use syntax::{ast, AstPtr, SyntaxNodePtr}; | ||
13 | 13 | ||
14 | use crate::db::HirDatabase; | 14 | use 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 | ||