diff options
author | Aleksey Kladov <[email protected]> | 2019-06-30 13:03:23 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-06-30 13:03:23 +0100 |
commit | 6686521040fdb62b0b4be515f3acd7f4501b73c9 (patch) | |
tree | 5d95d8fe1fdac2829f5b4f9edbcf716810f59bca | |
parent | 79298b97228f09e0c5c51799700d8350f5468ed5 (diff) |
collect more macros, they are heavy
-rw-r--r-- | crates/ra_ide_api/src/db.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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 { | |||
63 | let lru_capacity = lru_capacity.unwrap_or(ra_db::DEFAULT_LRU_CAP); | 63 | let lru_capacity = lru_capacity.unwrap_or(ra_db::DEFAULT_LRU_CAP); |
64 | db.query_mut(ra_db::ParseQuery).set_lru_capacity(lru_capacity); | 64 | db.query_mut(ra_db::ParseQuery).set_lru_capacity(lru_capacity); |
65 | db.query_mut(hir::db::ParseMacroQuery).set_lru_capacity(lru_capacity); | 65 | db.query_mut(hir::db::ParseMacroQuery).set_lru_capacity(lru_capacity); |
66 | db.query_mut(hir::db::MacroExpandQuery).set_lru_capacity(lru_capacity); | ||
66 | db | 67 | db |
67 | } | 68 | } |
68 | } | 69 | } |