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

@ -165,7 +165,7 @@ fn build_eq<'a, 'ctx>(
&builtin,
),
LayoutRepr::Struct { field_layouts, .. } => build_struct_eq(
LayoutRepr::Struct(field_layouts) => build_struct_eq(
env,
layout_interner,
layout_ids,
@ -353,7 +353,7 @@ fn build_neq<'a, 'ctx>(
&builtin,
),
LayoutRepr::Struct { field_layouts, .. } => {
LayoutRepr::Struct(field_layouts) => {
let is_equal = build_struct_eq(
env,
layout_interner,