summaryrefslogtreecommitdiffstats
path: root/tests/ui/layout/issue-96185-overaligned-enum.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/layout/issue-96185-overaligned-enum.stderr')
-rw-r--r--tests/ui/layout/issue-96185-overaligned-enum.stderr24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/ui/layout/issue-96185-overaligned-enum.stderr b/tests/ui/layout/issue-96185-overaligned-enum.stderr
index de6177c8d..c539eb453 100644
--- a/tests/ui/layout/issue-96185-overaligned-enum.stderr
+++ b/tests/ui/layout/issue-96185-overaligned-enum.stderr
@@ -53,6 +53,10 @@ error: layout_of(Aligned1) = Layout {
variants: Single {
index: 0,
},
+ max_repr_align: Some(
+ Align(8 bytes),
+ ),
+ unadjusted_abi_align: Align(1 bytes),
},
Layout {
size: Size(8 bytes),
@@ -71,9 +75,17 @@ error: layout_of(Aligned1) = Layout {
variants: Single {
index: 1,
},
+ max_repr_align: Some(
+ Align(8 bytes),
+ ),
+ unadjusted_abi_align: Align(1 bytes),
},
],
},
+ max_repr_align: Some(
+ Align(8 bytes),
+ ),
+ unadjusted_abi_align: Align(1 bytes),
}
--> $DIR/issue-96185-overaligned-enum.rs:8:1
|
@@ -141,6 +153,10 @@ error: layout_of(Aligned2) = Layout {
variants: Single {
index: 0,
},
+ max_repr_align: Some(
+ Align(1 bytes),
+ ),
+ unadjusted_abi_align: Align(1 bytes),
},
Layout {
size: Size(1 bytes),
@@ -159,9 +175,17 @@ error: layout_of(Aligned2) = Layout {
variants: Single {
index: 1,
},
+ max_repr_align: Some(
+ Align(1 bytes),
+ ),
+ unadjusted_abi_align: Align(1 bytes),
},
],
},
+ max_repr_align: Some(
+ Align(1 bytes),
+ ),
+ unadjusted_abi_align: Align(1 bytes),
}
--> $DIR/issue-96185-overaligned-enum.rs:16:1
|