diff options
Diffstat (limited to 'crates/ra_hir/src/db.rs')
-rw-r--r-- | crates/ra_hir/src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs index 033f9d25f..04249400b 100644 --- a/crates/ra_hir/src/db.rs +++ b/crates/ra_hir/src/db.rs | |||
@@ -56,7 +56,7 @@ pub trait HirDatabase: SyntaxDatabase | |||
56 | use fn crate::ty::type_for_def; | 56 | use fn crate::ty::type_for_def; |
57 | } | 57 | } |
58 | 58 | ||
59 | fn type_for_field(def_id: DefId, field: Name) -> Cancelable<Ty> { | 59 | fn type_for_field(def_id: DefId, field: Name) -> Cancelable<Option<Ty>> { |
60 | type TypeForFieldQuery; | 60 | type TypeForFieldQuery; |
61 | use fn crate::ty::type_for_field; | 61 | use fn crate::ty::type_for_field; |
62 | } | 62 | } |