collect more macros, they are heavy

This commit is contained in:
Aleksey Kladov 2019-06-30 15:03:23 +03:00
parent 79298b9722
commit 6686521040

View File

@ -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
}
}