diff options
Diffstat (limited to 'crates/hir_ty/src/method_resolution.rs')
-rw-r--r-- | crates/hir_ty/src/method_resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/method_resolution.rs b/crates/hir_ty/src/method_resolution.rs index 422e61f0a..ff8ce5599 100644 --- a/crates/hir_ty/src/method_resolution.rs +++ b/crates/hir_ty/src/method_resolution.rs | |||
@@ -235,7 +235,7 @@ impl Ty { | |||
235 | Ty::Adt(def_id, _) => { | 235 | Ty::Adt(def_id, _) => { |
236 | return mod_to_crate_ids(def_id.module(db.upcast())); | 236 | return mod_to_crate_ids(def_id.module(db.upcast())); |
237 | } | 237 | } |
238 | Ty::ForeignType(type_alias_id, _) => { | 238 | Ty::ForeignType(type_alias_id) => { |
239 | return mod_to_crate_ids(type_alias_id.lookup(db.upcast()).module(db.upcast())); | 239 | return mod_to_crate_ids(type_alias_id.lookup(db.upcast()).module(db.upcast())); |
240 | } | 240 | } |
241 | Ty::Scalar(Scalar::Bool) => lang_item_crate!("bool"), | 241 | Ty::Scalar(Scalar::Bool) => lang_item_crate!("bool"), |