diff options
Diffstat (limited to 'crates/hir_ty/src/infer/path.rs')
-rw-r--r-- | crates/hir_ty/src/infer/path.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_ty/src/infer/path.rs b/crates/hir_ty/src/infer/path.rs index b96391776..1ba15f737 100644 --- a/crates/hir_ty/src/infer/path.rs +++ b/crates/hir_ty/src/infer/path.rs | |||
@@ -147,7 +147,7 @@ impl<'a> InferenceContext<'a> { | |||
147 | remaining_segments_for_ty, | 147 | remaining_segments_for_ty, |
148 | true, | 148 | true, |
149 | ); | 149 | ); |
150 | if let TyKind::Unknown = ty.interned(&Interner) { | 150 | if let TyKind::Unknown = ty.kind(&Interner) { |
151 | return None; | 151 | return None; |
152 | } | 152 | } |
153 | 153 | ||
@@ -212,7 +212,7 @@ impl<'a> InferenceContext<'a> { | |||
212 | name: &Name, | 212 | name: &Name, |
213 | id: ExprOrPatId, | 213 | id: ExprOrPatId, |
214 | ) -> Option<(ValueNs, Option<Substitution>)> { | 214 | ) -> Option<(ValueNs, Option<Substitution>)> { |
215 | if let TyKind::Unknown = ty.interned(&Interner) { | 215 | if let TyKind::Unknown = ty.kind(&Interner) { |
216 | return None; | 216 | return None; |
217 | } | 217 | } |
218 | 218 | ||