diff options
Diffstat (limited to 'crates/ra_ide/src/change.rs')
-rw-r--r-- | crates/ra_ide/src/change.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_ide/src/change.rs b/crates/ra_ide/src/change.rs index 4585bf522..8b197d642 100644 --- a/crates/ra_ide/src/change.rs +++ b/crates/ra_ide/src/change.rs | |||
@@ -201,7 +201,7 @@ impl RootDatabase { | |||
201 | libraries.push(library.root_id); | 201 | libraries.push(library.root_id); |
202 | self.set_source_root_with_durability( | 202 | self.set_source_root_with_durability( |
203 | library.root_id, | 203 | library.root_id, |
204 | Default::default(), | 204 | Arc::new(SourceRoot::new_library()), |
205 | Durability::HIGH, | 205 | Durability::HIGH, |
206 | ); | 206 | ); |
207 | self.set_library_symbols_with_durability( | 207 | self.set_library_symbols_with_durability( |
@@ -273,7 +273,7 @@ impl RootDatabase { | |||
273 | self.query(hir::db::BodyWithSourceMapQuery).sweep(sweep); | 273 | self.query(hir::db::BodyWithSourceMapQuery).sweep(sweep); |
274 | 274 | ||
275 | self.query(hir::db::ExprScopesQuery).sweep(sweep); | 275 | self.query(hir::db::ExprScopesQuery).sweep(sweep); |
276 | self.query(hir::db::InferQuery).sweep(sweep); | 276 | self.query(hir::db::DoInferQuery).sweep(sweep); |
277 | self.query(hir::db::BodyQuery).sweep(sweep); | 277 | self.query(hir::db::BodyQuery).sweep(sweep); |
278 | } | 278 | } |
279 | 279 | ||
@@ -320,7 +320,7 @@ impl RootDatabase { | |||
320 | hir::db::LangItemQuery | 320 | hir::db::LangItemQuery |
321 | hir::db::DocumentationQuery | 321 | hir::db::DocumentationQuery |
322 | hir::db::ExprScopesQuery | 322 | hir::db::ExprScopesQuery |
323 | hir::db::InferQuery | 323 | hir::db::DoInferQuery |
324 | hir::db::TyQuery | 324 | hir::db::TyQuery |
325 | hir::db::ValueTyQuery | 325 | hir::db::ValueTyQuery |
326 | hir::db::FieldTypesQuery | 326 | hir::db::FieldTypesQuery |