From 2f02e1a8baf4a546b66d891c1fa68f81e42d8b5f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 2 Jun 2019 18:58:49 +0300 Subject: collect macro queries --- crates/ra_ide_api/src/change.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crates/ra_ide_api') diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs index 42b4e4840..02814ce56 100644 --- a/crates/ra_ide_api/src/change.rs +++ b/crates/ra_ide_api/src/change.rs @@ -227,6 +227,9 @@ impl RootDatabase { self.query(ra_db::ParseQuery).sweep(sweep); self.query(hir::db::ParseOrExpandQuery).sweep(sweep); + self.query(hir::db::MacroDefQuery).sweep(sweep); + self.query(hir::db::MacroArgQuery).sweep(sweep); + self.query(hir::db::MacroExpandQuery).sweep(sweep); self.query(hir::db::AstIdMapQuery).sweep(sweep); self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); -- cgit v1.2.3