Fix missing match arms

This commit is contained in:
Florian Diebold 2021-04-08 13:51:04 +02:00
parent f43edb2151
commit a838a60caa
5 changed files with 23 additions and 3 deletions

View file

@ -1903,7 +1903,9 @@ impl Type {
| TyKind::Dyn(_)
| TyKind::Function(_)
| TyKind::Alias(_)
| TyKind::Foreign(_) => false,
| TyKind::Foreign(_)
| TyKind::Generator(..)
| TyKind::GeneratorWitness(..) => false,
}
}
}