diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_db/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/ra_ide_api/src/imp.rs | 18 |
2 files changed, 9 insertions, 11 deletions
diff --git a/crates/ra_db/Cargo.toml b/crates/ra_db/Cargo.toml index 3bacd8660..3bae22c74 100644 --- a/crates/ra_db/Cargo.toml +++ b/crates/ra_db/Cargo.toml | |||
@@ -5,7 +5,7 @@ version = "0.1.0" | |||
5 | authors = ["Aleksey Kladov <[email protected]>"] | 5 | authors = ["Aleksey Kladov <[email protected]>"] |
6 | 6 | ||
7 | [dependencies] | 7 | [dependencies] |
8 | salsa = "0.10.0-alpha5" | 8 | salsa = "0.10.0" |
9 | relative-path = "0.4.0" | 9 | relative-path = "0.4.0" |
10 | rustc-hash = "1.0" | 10 | rustc-hash = "1.0" |
11 | parking_lot = "0.7.0" | 11 | parking_lot = "0.7.0" |
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 | ||