aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_batch/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_batch/src/lib.rs')
-rw-r--r--crates/ra_batch/src/lib.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/ra_batch/src/lib.rs b/crates/ra_batch/src/lib.rs
index c59821f44..35e783b14 100644
--- a/crates/ra_batch/src/lib.rs
+++ b/crates/ra_batch/src/lib.rs
@@ -1,8 +1,7 @@
1mod vfs_filter; 1mod vfs_filter;
2 2
3use std::sync::Arc; 3use std::{sync::Arc, path::Path, collections::HashSet, error::Error};
4use std::path::Path; 4
5use std::collections::HashSet;
6 5
7use rustc_hash::FxHashMap; 6use rustc_hash::FxHashMap;
8 7
@@ -14,7 +13,7 @@ use ra_project_model::ProjectWorkspace;
14use ra_vfs::{Vfs, VfsChange}; 13use ra_vfs::{Vfs, VfsChange};
15use vfs_filter::IncludeRustFiles; 14use vfs_filter::IncludeRustFiles;
16 15
17type Result<T> = std::result::Result<T, failure::Error>; 16type Result<T> = std::result::Result<T, Box<dyn Error + Send + Sync>>;
18 17
19#[salsa::database( 18#[salsa::database(
20 ra_db::SourceDatabaseStorage, 19 ra_db::SourceDatabaseStorage,