From 5af9e475f4acce54f8383ed22febc412cf2541d0 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 1 Jun 2019 21:17:57 +0300 Subject: add AstDatabase --- crates/ra_batch/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crates/ra_batch/src/lib.rs') 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; type Result = std::result::Result; -#[salsa::database(ra_db::SourceDatabaseStorage, db::HirDatabaseStorage, db::DefDatabaseStorage)] +#[salsa::database( + ra_db::SourceDatabaseStorage, + db::AstDatabaseStorage, + db::DefDatabaseStorage, + db::HirDatabaseStorage +)] #[derive(Debug)] pub struct BatchDatabase { runtime: salsa::Runtime, -- cgit v1.2.3