diff options
author | Laurențiu Nicola <[email protected]> | 2021-04-05 13:37:11 +0100 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2021-04-05 13:39:06 +0100 |
commit | 65c2e5194034e4f6f556b96e71ce62bc2a465a35 (patch) | |
tree | 6ff56eca6210f2a87ca9caa8a7485c9ff567dc5e /crates/hir | |
parent | d8ee25bb976f50c0c0c8c247ca8bb030d9167bdb (diff) |
Rename TyKind::Unknown to Error
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) |