aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir/src')
-rw-r--r--crates/hir/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs
index e41efb385..b14c9a675 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)
@@ -1900,7 +1900,7 @@ impl Type {
1900 | TyKind::Dyn(_) 1900 | TyKind::Dyn(_)
1901 | TyKind::Function(_) 1901 | TyKind::Function(_)
1902 | TyKind::Alias(_) 1902 | TyKind::Alias(_)
1903 | TyKind::ForeignType(_) => false, 1903 | TyKind::Foreign(_) => false,
1904 } 1904 }
1905 } 1905 }
1906 } 1906 }