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

@ -300,7 +300,7 @@ impl Ty {
}
pub fn is_unknown(&self) -> bool {
matches!(self.kind(&Interner), TyKind::Unknown)
matches!(self.kind(&Interner), TyKind::Error)
}
pub fn equals_ctor(&self, other: &Ty) -> bool {