diff options
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index e41efb385..76d0e98af 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs | |||
@@ -1876,7 +1876,7 @@ impl Type { | |||
1876 | 1876 | ||
1877 | fn go(ty: &Ty) -> bool { | 1877 | fn go(ty: &Ty) -> bool { |
1878 | match ty.kind(&Interner) { | 1878 | match ty.kind(&Interner) { |
1879 | TyKind::Unknown => true, | 1879 | TyKind::Error => true, |
1880 | 1880 | ||
1881 | TyKind::Adt(_, substs) | 1881 | TyKind::Adt(_, substs) |
1882 | | TyKind::AssociatedType(_, substs) | 1882 | | TyKind::AssociatedType(_, substs) |