aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/hir/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/hir/db.rs')
-rw-r--r--crates/ra_analysis/src/hir/db.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_analysis/src/hir/db.rs b/crates/ra_analysis/src/hir/db.rs
index 3cdf8e6d6..498a5c2dd 100644
--- a/crates/ra_analysis/src/hir/db.rs
+++ b/crates/ra_analysis/src/hir/db.rs
@@ -25,37 +25,37 @@ pub(crate) trait HirDatabase: SyntaxDatabase + IdDatabase {
25 use fn crate::hir::function::imp::fn_scopes; 25 use fn crate::hir::function::imp::fn_scopes;
26 } 26 }
27 27
28 fn _file_items(file_id: FileId) -> Arc<FileItems> { 28 fn file_items(file_id: FileId) -> Arc<FileItems> {
29 type FileItemsQuery; 29 type FileItemsQuery;
30 storage dependencies; 30 storage dependencies;
31 use fn crate::hir::module::nameres::file_items; 31 use fn crate::hir::module::nameres::file_items;
32 } 32 }
33 33
34 fn _file_item(file_id: FileId, file_item_id: FileItemId) -> SyntaxNode { 34 fn file_item(file_id: FileId, file_item_id: FileItemId) -> SyntaxNode {
35 type FileItemQuery; 35 type FileItemQuery;
36 storage dependencies; 36 storage dependencies;
37 use fn crate::hir::module::nameres::file_item; 37 use fn crate::hir::module::nameres::file_item;
38 } 38 }
39 39
40 fn _input_module_items(source_root_id: SourceRootId, module_id: ModuleId) -> Cancelable<Arc<InputModuleItems>> { 40 fn input_module_items(source_root_id: SourceRootId, module_id: ModuleId) -> Cancelable<Arc<InputModuleItems>> {
41 type InputModuleItemsQuery; 41 type InputModuleItemsQuery;
42 use fn crate::hir::module::nameres::input_module_items; 42 use fn crate::hir::module::nameres::input_module_items;
43 } 43 }
44 fn _item_map(source_root_id: SourceRootId) -> Cancelable<Arc<ItemMap>> { 44 fn item_map(source_root_id: SourceRootId) -> Cancelable<Arc<ItemMap>> {
45 type ItemMapQuery; 45 type ItemMapQuery;
46 use fn crate::hir::module::nameres::item_map; 46 use fn crate::hir::module::nameres::item_map;
47 } 47 }
48 fn _module_tree(source_root_id: SourceRootId) -> Cancelable<Arc<ModuleTree>> { 48 fn module_tree(source_root_id: SourceRootId) -> Cancelable<Arc<ModuleTree>> {
49 type ModuleTreeQuery; 49 type ModuleTreeQuery;
50 use fn crate::hir::module::imp::module_tree; 50 use fn crate::hir::module::imp::module_tree;
51 } 51 }
52 fn _fn_syntax(fn_id: FnId) -> FnDefNode { 52 fn fn_syntax(fn_id: FnId) -> FnDefNode {
53 type FnSyntaxQuery; 53 type FnSyntaxQuery;
54 // Don't retain syntax trees in memory 54 // Don't retain syntax trees in memory
55 storage dependencies; 55 storage dependencies;
56 use fn crate::hir::function::imp::fn_syntax; 56 use fn crate::hir::function::imp::fn_syntax;
57 } 57 }
58 fn _submodules(source: ModuleSource) -> Cancelable<Arc<Vec<crate::hir::module::imp::Submodule>>> { 58 fn submodules(source: ModuleSource) -> Cancelable<Arc<Vec<crate::hir::module::imp::Submodule>>> {
59 type SubmodulesQuery; 59 type SubmodulesQuery;
60 use fn crate::hir::module::imp::submodules; 60 use fn crate::hir::module::imp::submodules;
61 } 61 }