From b2390f10fa55d983cd4439f1bfb07a3fa9a63e75 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 14 Jul 2020 10:52:18 +0200 Subject: Cleanup visibility --- crates/ra_hir_ty/src/test_db.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'crates/ra_hir_ty/src/test_db.rs') diff --git a/crates/ra_hir_ty/src/test_db.rs b/crates/ra_hir_ty/src/test_db.rs index daf2b909e..ddafd0ea1 100644 --- a/crates/ra_hir_ty/src/test_db.rs +++ b/crates/ra_hir_ty/src/test_db.rs @@ -6,14 +6,17 @@ use std::{ }; use hir_def::{db::DefDatabase, AssocItemId, ModuleDefId, ModuleId}; -use hir_expand::{db::AstDatabase, diagnostics::DiagnosticSink}; +use hir_expand::{ + db::AstDatabase, + diagnostics::{Diagnostic, DiagnosticSink}, +}; use ra_db::{salsa, CrateId, FileId, FileLoader, FileLoaderDelegate, SourceDatabase, Upcast}; use ra_syntax::TextRange; use rustc_hash::{FxHashMap, FxHashSet}; use stdx::format_to; use test_utils::extract_annotations; -use crate::diagnostics::{validate_body, Diagnostic}; +use crate::diagnostics::validate_body; #[salsa::database( ra_db::SourceDatabaseExtStorage, -- cgit v1.2.3