diff options
Diffstat (limited to 'crates/ra_analysis/src/descriptors/mod.rs')
-rw-r--r-- | crates/ra_analysis/src/descriptors/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/descriptors/mod.rs b/crates/ra_analysis/src/descriptors/mod.rs index a5e956024..98094d9ee 100644 --- a/crates/ra_analysis/src/descriptors/mod.rs +++ b/crates/ra_analysis/src/descriptors/mod.rs | |||
@@ -32,13 +32,13 @@ salsa::query_group! { | |||
32 | 32 | ||
33 | fn _file_items(file_id: FileId) -> Arc<FileItems> { | 33 | fn _file_items(file_id: FileId) -> Arc<FileItems> { |
34 | type FileItemsQuery; | 34 | type FileItemsQuery; |
35 | storage volatile; | 35 | storage dependencies; |
36 | use fn module::nameres::file_items; | 36 | use fn module::nameres::file_items; |
37 | } | 37 | } |
38 | 38 | ||
39 | fn _file_item(file_id: FileId, file_item_id: FileItemId) -> SyntaxNode { | 39 | fn _file_item(file_id: FileId, file_item_id: FileItemId) -> SyntaxNode { |
40 | type FileItemQuery; | 40 | type FileItemQuery; |
41 | storage volatile; | 41 | storage dependencies; |
42 | use fn module::nameres::file_item; | 42 | use fn module::nameres::file_item; |
43 | } | 43 | } |
44 | 44 | ||
@@ -57,7 +57,7 @@ salsa::query_group! { | |||
57 | fn _fn_syntax(fn_id: FnId) -> FnDefNode { | 57 | fn _fn_syntax(fn_id: FnId) -> FnDefNode { |
58 | type FnSyntaxQuery; | 58 | type FnSyntaxQuery; |
59 | // Don't retain syntax trees in memory | 59 | // Don't retain syntax trees in memory |
60 | storage volatile; | 60 | storage dependencies; |
61 | use fn function::imp::fn_syntax; | 61 | use fn function::imp::fn_syntax; |
62 | } | 62 | } |
63 | fn _submodules(source: ModuleSource) -> Cancelable<Arc<Vec<module::imp::Submodule>>> { | 63 | fn _submodules(source: ModuleSource) -> Cancelable<Arc<Vec<module::imp::Submodule>>> { |