diff options
author | Aleksey Kladov <[email protected]> | 2019-06-01 20:14:42 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-06-01 20:14:42 +0100 |
commit | d7a2a9171ecc36ec47ba23020c7d7392da537d2e (patch) | |
tree | 66a82b818139a96a1d963b119ecc1d5b308bb28d /crates/ra_hir | |
parent | 37e80c529772aec176d93a33ee5a2fec3ab8e45d (diff) |
don't cache ast_id_to_node
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/db.rs | 1 |
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)] |