aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide_api/src/change.rs9
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);