Convert LayoutRepr::Struct into a tuple variant

This commit is contained in:
Ayaz Hafiz 2023-05-10 16:41:13 -05:00
parent a6bda6eccf
commit a67c148be7
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
24 changed files with 85 additions and 128 deletions

View file

@ -336,7 +336,7 @@ fn specialize_drops_stmt<'a, 'i>(
let new_dec = match runtime_layout.repr {
// Layout has children, try to inline them.
LayoutRepr::Struct { field_layouts, .. } => specialize_struct(
LayoutRepr::Struct(field_layouts) => specialize_struct(
arena,
layout_interner,
ident_ids,