diff options
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/db.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs index ff41fd326..62cf9ab17 100644 --- a/crates/ra_hir/src/db.rs +++ b/crates/ra_hir/src/db.rs | |||
@@ -27,20 +27,16 @@ pub trait HirDatabase: SyntaxDatabase | |||
27 | } | 27 | } |
28 | fn fn_syntax(fn_id: FnId) -> FnDefNode { | 28 | fn fn_syntax(fn_id: FnId) -> FnDefNode { |
29 | type FnSyntaxQuery; | 29 | type FnSyntaxQuery; |
30 | // Don't retain syntax trees in memory | ||
31 | storage dependencies; | ||
32 | use fn query_definitions::fn_syntax; | 30 | use fn query_definitions::fn_syntax; |
33 | } | 31 | } |
34 | 32 | ||
35 | fn file_items(file_id: FileId) -> Arc<SourceFileItems> { | 33 | fn file_items(file_id: FileId) -> Arc<SourceFileItems> { |
36 | type SourceFileItemsQuery; | 34 | type SourceFileItemsQuery; |
37 | storage dependencies; | ||
38 | use fn query_definitions::file_items; | 35 | use fn query_definitions::file_items; |
39 | } | 36 | } |
40 | 37 | ||
41 | fn file_item(source_item_id: SourceItemId) -> SyntaxNode { | 38 | fn file_item(source_item_id: SourceItemId) -> SyntaxNode { |
42 | type FileItemQuery; | 39 | type FileItemQuery; |
43 | storage dependencies; | ||
44 | use fn query_definitions::file_item; | 40 | use fn query_definitions::file_item; |
45 | } | 41 | } |
46 | 42 | ||