diff options
author | Aleksey Kladov <[email protected]> | 2019-06-01 19:17:57 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-06-02 10:27:36 +0100 |
commit | 5af9e475f4acce54f8383ed22febc412cf2541d0 (patch) | |
tree | c6f5e240d385fd33f25a70d20b8244a721202264 /crates/ra_batch/src | |
parent | 8256dfdd713451cbe54ee61a176b79f1d1bab589 (diff) |
add AstDatabase
Diffstat (limited to 'crates/ra_batch/src')
-rw-r--r-- | crates/ra_batch/src/lib.rs | 7 |
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 | ||
17 | type Result<T> = std::result::Result<T, failure::Error>; | 17 | type 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)] |
21 | pub struct BatchDatabase { | 26 | pub struct BatchDatabase { |
22 | runtime: salsa::Runtime<BatchDatabase>, | 27 | runtime: salsa::Runtime<BatchDatabase>, |