aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/db.rs1
1 files changed, 1 insertions, 0 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)]