remove MultiTagUnion

This commit is contained in:
Folkert 2021-06-21 21:03:37 +02:00
parent 8a36c20559
commit 65f4ff9663
4 changed files with 7 additions and 25 deletions

View file

@ -392,7 +392,7 @@ impl<'a> LambdaSet<'a> {
match self.representation {
Layout::Struct(fields) if fields.len() == 1 => Wrapped::SingleElementRecord,
Layout::Struct(_) => Wrapped::RecordOrSingleTagUnion,
Layout::Union(_) => Wrapped::MultiTagUnion,
Layout::Union(_) => unreachable!(),
_ => Wrapped::SingleElementRecord,
}
}