diff options
author | Florian Diebold <[email protected]> | 2021-04-08 12:51:04 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2021-04-08 13:23:17 +0100 |
commit | a838a60caaa5351d7543bcbebb1aa976b0b73f39 (patch) | |
tree | e17994fe7a56f78c4770f227d75e9913ea4766db /crates/hir | |
parent | f43edb2151408d0127201312ade7fef9d9328222 (diff) |
Fix missing match arms
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 0afc06906..817a01db1 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs | |||
@@ -1903,7 +1903,9 @@ impl Type { | |||
1903 | | TyKind::Dyn(_) | 1903 | | TyKind::Dyn(_) |
1904 | | TyKind::Function(_) | 1904 | | TyKind::Function(_) |
1905 | | TyKind::Alias(_) | 1905 | | TyKind::Alias(_) |
1906 | | TyKind::Foreign(_) => false, | 1906 | | TyKind::Foreign(_) |
1907 | | TyKind::Generator(..) | ||
1908 | | TyKind::GeneratorWitness(..) => false, | ||
1907 | } | 1909 | } |
1908 | } | 1910 | } |
1909 | } | 1911 | } |