From 65c2e5194034e4f6f556b96e71ce62bc2a465a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 5 Apr 2021 15:37:11 +0300 Subject: Rename TyKind::Unknown to Error --- crates/hir/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir') diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index e41efb385..76d0e98af 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -1876,7 +1876,7 @@ impl Type { fn go(ty: &Ty) -> bool { match ty.kind(&Interner) { - TyKind::Unknown => true, + TyKind::Error => true, TyKind::Adt(_, substs) | TyKind::AssociatedType(_, substs) -- cgit v1.2.3