Rename TyKind::Unknown to Error

This commit is contained in:
Laurențiu Nicola 2021-04-05 15:37:11 +03:00
parent d8ee25bb97
commit 65c2e51940
14 changed files with 48 additions and 48 deletions

View file

@ -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)