aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_batch
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-06-01 19:17:57 +0100
committerAleksey Kladov <[email protected]>2019-06-02 10:27:36 +0100
commit5af9e475f4acce54f8383ed22febc412cf2541d0 (patch)
treec6f5e240d385fd33f25a70d20b8244a721202264 /crates/ra_batch
parent8256dfdd713451cbe54ee61a176b79f1d1bab589 (diff)
add AstDatabase
Diffstat (limited to 'crates/ra_batch')
-rw-r--r--crates/ra_batch/src/lib.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/crates/ra_batch/src/lib.rs b/crates/ra_batch/src/lib.rs
index 0cafe617d..a4a8462de 100644
--- a/crates/ra_batch/src/lib.rs
+++ b/crates/ra_batch/src/lib.rs
@@ -16,7 +16,12 @@ use vfs_filter::IncludeRustFiles;
16 16
17type Result<T> = std::result::Result<T, failure::Error>; 17type Result<T> = std::result::Result<T, failure::Error>;
18 18
19#[salsa::database(ra_db::SourceDatabaseStorage, db::HirDatabaseStorage, db::DefDatabaseStorage)] 19#[salsa::database(
20 ra_db::SourceDatabaseStorage,
21 db::AstDatabaseStorage,
22 db::DefDatabaseStorage,
23 db::HirDatabaseStorage
24)]
20#[derive(Debug)] 25#[derive(Debug)]
21pub struct BatchDatabase { 26pub struct BatchDatabase {
22 runtime: salsa::Runtime<BatchDatabase>, 27 runtime: salsa::Runtime<BatchDatabase>,