aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/imp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/imp.rs')
-rw-r--r--crates/ra_ide_api/src/imp.rs18
1 files changed, 8 insertions, 10 deletions
diff --git a/crates/ra_ide_api/src/imp.rs b/crates/ra_ide_api/src/imp.rs
index 4e347e973..31e0f5d6d 100644
--- a/crates/ra_ide_api/src/imp.rs
+++ b/crates/ra_ide_api/src/imp.rs
@@ -96,19 +96,17 @@ impl db::RootDatabase {
96 96
97 let sweep = SweepStrategy::default() 97 let sweep = SweepStrategy::default()
98 .discard_values() 98 .discard_values()
99 .discard_all_revisions(); 99 .sweep_all_revisions();
100 100
101 self.query(ra_db::ParseQuery).sweep(sweep.clone()); 101 self.query(ra_db::ParseQuery).sweep(sweep);
102 102
103 self.query(hir::db::HirParseQuery).sweep(sweep.clone()); 103 self.query(hir::db::HirParseQuery).sweep(sweep);
104 self.query(hir::db::FileItemsQuery).sweep(sweep.clone()); 104 self.query(hir::db::FileItemsQuery).sweep(sweep);
105 self.query(hir::db::FileItemQuery).sweep(sweep.clone()); 105 self.query(hir::db::FileItemQuery).sweep(sweep);
106 106
107 self.query(hir::db::LowerModuleQuery).sweep(sweep.clone()); 107 self.query(hir::db::LowerModuleQuery).sweep(sweep);
108 self.query(hir::db::LowerModuleSourceMapQuery) 108 self.query(hir::db::LowerModuleSourceMapQuery).sweep(sweep);
109 .sweep(sweep.clone()); 109 self.query(hir::db::BodySyntaxMappingQuery).sweep(sweep);
110 self.query(hir::db::BodySyntaxMappingQuery)
111 .sweep(sweep.clone());
112 } 110 }
113} 111}
114 112