diff options
Diffstat (limited to 'crates/hir_ty/src/lib.rs')
-rw-r--r-- | crates/hir_ty/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/lib.rs b/crates/hir_ty/src/lib.rs index 76609e2df..9e030e775 100644 --- a/crates/hir_ty/src/lib.rs +++ b/crates/hir_ty/src/lib.rs | |||
@@ -300,7 +300,7 @@ impl Ty { | |||
300 | } | 300 | } |
301 | 301 | ||
302 | pub fn is_unknown(&self) -> bool { | 302 | pub fn is_unknown(&self) -> bool { |
303 | matches!(self.kind(&Interner), TyKind::Unknown) | 303 | matches!(self.kind(&Interner), TyKind::Error) |
304 | } | 304 | } |
305 | 305 | ||
306 | pub fn equals_ctor(&self, other: &Ty) -> bool { | 306 | pub fn equals_ctor(&self, other: &Ty) -> bool { |