aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src/db.rs')
-rw-r--r--crates/ra_hir/src/db.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index b41a7429a..5a8ca3b47 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -36,17 +36,17 @@ pub trait HirDatabase: SyntaxDatabase
36 36
37 fn infer(def_id: DefId) -> Cancelable<Arc<InferenceResult>> { 37 fn infer(def_id: DefId) -> Cancelable<Arc<InferenceResult>> {
38 type InferQuery; 38 type InferQuery;
39 use fn query_definitions::infer; 39 use fn crate::ty::infer;
40 } 40 }
41 41
42 fn type_for_def(def_id: DefId) -> Cancelable<Ty> { 42 fn type_for_def(def_id: DefId) -> Cancelable<Ty> {
43 type TypeForDefQuery; 43 type TypeForDefQuery;
44 use fn query_definitions::type_for_def; 44 use fn crate::ty::type_for_def;
45 } 45 }
46 46
47 fn type_for_field(def_id: DefId, field: Name) -> Cancelable<Ty> { 47 fn type_for_field(def_id: DefId, field: Name) -> Cancelable<Ty> {
48 type TypeForFieldQuery; 48 type TypeForFieldQuery;
49 use fn query_definitions::type_for_field; 49 use fn crate::ty::type_for_field;
50 } 50 }
51 51
52 fn file_items(file_id: FileId) -> Arc<SourceFileItems> { 52 fn file_items(file_id: FileId) -> Arc<SourceFileItems> {