diff options
-rw-r--r-- | crates/ra_hir/src/db.rs | 1 | ||||
-rw-r--r-- | crates/ra_ide_api/src/change.rs | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs index d84e1598b..dcc881a36 100644 --- a/crates/ra_hir/src/db.rs +++ b/crates/ra_hir/src/db.rs | |||
@@ -74,6 +74,7 @@ pub trait DefDatabase: SourceDatabase { | |||
74 | fn ast_id_map(&self, file_id: HirFileId) -> Arc<AstIdMap>; | 74 | fn ast_id_map(&self, file_id: HirFileId) -> Arc<AstIdMap>; |
75 | 75 | ||
76 | #[salsa::invoke(crate::source_id::AstIdMap::file_item_query)] | 76 | #[salsa::invoke(crate::source_id::AstIdMap::file_item_query)] |
77 | #[salsa::transparent] | ||
77 | fn ast_id_to_node(&self, file_id: HirFileId, ast_id: ErasedFileAstId) -> TreeArc<SyntaxNode>; | 78 | fn ast_id_to_node(&self, file_id: HirFileId, ast_id: ErasedFileAstId) -> TreeArc<SyntaxNode>; |
78 | 79 | ||
79 | #[salsa::invoke(RawItems::raw_items_query)] | 80 | #[salsa::invoke(RawItems::raw_items_query)] |
diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs index 4b597afc0..4196a3853 100644 --- a/crates/ra_ide_api/src/change.rs +++ b/crates/ra_ide_api/src/change.rs | |||
@@ -228,7 +228,6 @@ impl RootDatabase { | |||
228 | 228 | ||
229 | self.query(hir::db::ParseOrExpandQuery).sweep(sweep); | 229 | self.query(hir::db::ParseOrExpandQuery).sweep(sweep); |
230 | self.query(hir::db::AstIdMapQuery).sweep(sweep); | 230 | self.query(hir::db::AstIdMapQuery).sweep(sweep); |
231 | self.query(hir::db::AstIdToNodeQuery).sweep(sweep); | ||
232 | 231 | ||
233 | self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); | 232 | self.query(hir::db::RawItemsWithSourceMapQuery).sweep(sweep); |
234 | self.query(hir::db::BodyWithSourceMapQuery).sweep(sweep); | 233 | self.query(hir::db::BodyWithSourceMapQuery).sweep(sweep); |