diff options
Diffstat (limited to 'crates/hir_ty/src/builder.rs')
-rw-r--r-- | crates/hir_ty/src/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/builder.rs b/crates/hir_ty/src/builder.rs index 0bac31e4c..372621f73 100644 --- a/crates/hir_ty/src/builder.rs +++ b/crates/hir_ty/src/builder.rs | |||
@@ -54,7 +54,7 @@ impl<D> TyBuilder<D> { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | pub fn fill_with_unknown(self) -> Self { | 56 | pub fn fill_with_unknown(self) -> Self { |
57 | self.fill(iter::repeat(TyKind::Unknown.intern(&Interner))) | 57 | self.fill(iter::repeat(TyKind::Error.intern(&Interner))) |
58 | } | 58 | } |
59 | 59 | ||
60 | pub fn fill(mut self, filler: impl Iterator<Item = impl CastTo<GenericArg>>) -> Self { | 60 | pub fn fill(mut self, filler: impl Iterator<Item = impl CastTo<GenericArg>>) -> Self { |