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

@ -54,7 +54,7 @@ impl<D> TyBuilder<D> {
}
pub fn fill_with_unknown(self) -> Self {
self.fill(iter::repeat(TyKind::Unknown.intern(&Interner)))
self.fill(iter::repeat(TyKind::Error.intern(&Interner)))
}
pub fn fill(mut self, filler: impl Iterator<Item = impl CastTo<GenericArg>>) -> Self {