diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-20 14:48:39 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-20 14:48:39 +0100 |
commit | 4adb0125f7f1f0fb6e9a5f2981f5cc5a7b584118 (patch) | |
tree | d69e73c284fb15d6685b8b81e5deba991838ff44 | |
parent | cd1ff2e2a11dd781e051060c650537802dfbbe99 (diff) | |
parent | 9ff872329add121839e5a3780c1aae16c1dec050 (diff) |
Merge #1420
1420: don' collect macros r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | crates/ra_ide_api/src/change.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs index ce03a0f95..895b1e966 100644 --- a/crates/ra_ide_api/src/change.rs +++ b/crates/ra_ide_api/src/change.rs | |||
@@ -226,9 +226,12 @@ impl RootDatabase { | |||
226 | 226 | ||
227 | self.query(ra_db::ParseQuery).sweep(sweep); | 227 | self.query(ra_db::ParseQuery).sweep(sweep); |
228 | self.query(hir::db::ParseMacroQuery).sweep(sweep); | 228 | self.query(hir::db::ParseMacroQuery).sweep(sweep); |
229 | self.query(hir::db::MacroDefQuery).sweep(sweep); | 229 | |
230 | self.query(hir::db::MacroArgQuery).sweep(sweep); | 230 | // Macros do take significant space, but less then the syntax trees |
231 | self.query(hir::db::MacroExpandQuery).sweep(sweep); | 231 | // self.query(hir::db::MacroDefQuery).sweep(sweep); |
232 | // self.query(hir::db::MacroArgQuery).sweep(sweep); | ||
233 | // self.query(hir::db::MacroExpandQuery).sweep(sweep); | ||
234 | |||
232 | self.query(hir::db::AstIdMapQuery).sweep(sweep); | 235 | self.query(hir::db::AstIdMapQuery).sweep(sweep); |
233 | 236 | ||
234 | self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); | 237 | self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); |