Rename TyKind::Unknown to Error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user