diff options
author | Aleksey Kladov <[email protected]> | 2019-01-15 17:43:37 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-15 17:43:37 +0000 |
commit | b871062e329301683083a1a2ff5eb476e6c397c7 (patch) | |
tree | 79ce5dbafb59a042862ee91fdc8b89908da62644 /crates/ra_hir/src/ty | |
parent | 05ed6c548a7672e2c9472276a652c374a5d2a212 (diff) |
remove Cancelable from Ty
Diffstat (limited to 'crates/ra_hir/src/ty')
-rw-r--r-- | crates/ra_hir/src/ty/method_resolution.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index 94c5124a9..0676a989d 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs | |||
@@ -65,7 +65,7 @@ impl CrateImplBlocks { | |||
65 | // ignore for now | 65 | // ignore for now |
66 | } else { | 66 | } else { |
67 | let target_ty = | 67 | let target_ty = |
68 | Ty::from_hir(db, &module, Some(&impl_block), impl_data.target_type())?; | 68 | Ty::from_hir(db, &module, Some(&impl_block), impl_data.target_type()); |
69 | if let Some(target_ty_fp) = TyFingerprint::for_impl(&target_ty) { | 69 | if let Some(target_ty_fp) = TyFingerprint::for_impl(&target_ty) { |
70 | self.impls | 70 | self.impls |
71 | .entry(target_ty_fp) | 71 | .entry(target_ty_fp) |