From 6686521040fdb62b0b4be515f3acd7f4501b73c9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 30 Jun 2019 15:03:23 +0300 Subject: collect more macros, they are heavy --- crates/ra_ide_api/src/db.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_ide_api/src/db.rs') diff --git a/crates/ra_ide_api/src/db.rs b/crates/ra_ide_api/src/db.rs index cb7d30c43..94977764c 100644 --- a/crates/ra_ide_api/src/db.rs +++ b/crates/ra_ide_api/src/db.rs @@ -63,6 +63,7 @@ impl RootDatabase { let lru_capacity = lru_capacity.unwrap_or(ra_db::DEFAULT_LRU_CAP); db.query_mut(ra_db::ParseQuery).set_lru_capacity(lru_capacity); db.query_mut(hir::db::ParseMacroQuery).set_lru_capacity(lru_capacity); + db.query_mut(hir::db::MacroExpandQuery).set_lru_capacity(lru_capacity); db } } -- cgit v1.2.3