tests: Bless rustc_abi::Abi::Aggregate => ::Memory

This commit is contained in:
Jubilee Young 2024-10-29 23:21:20 -07:00
parent 0b9d1eb889
commit 083a362dd1
27 changed files with 164 additions and 97 deletions

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -58,7 +58,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -58,7 +58,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: C,
can_unwind: false,
}
--> $DIR/c-zst.rs:27:1
--> $DIR/c-zst.rs:63:1
|
LL | extern "C" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -235,7 +235,7 @@ error: fn_abi_of(test_generic) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -317,7 +317,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -387,7 +387,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -426,7 +426,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Array {
@ -464,7 +464,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -497,7 +497,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Array {
@ -535,7 +535,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -610,7 +610,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -680,7 +680,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -756,7 +756,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -826,7 +826,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -929,7 +929,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -36,7 +36,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -58,7 +58,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: X86_64Win64,
can_unwind: false,
}
--> $DIR/win64-zst.rs:11:1
--> $DIR/win64-zst.rs:24:1
|
LL | extern "win64" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -47,7 +47,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -69,7 +69,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
conv: X86_64Win64,
can_unwind: false,
}
--> $DIR/win64-zst.rs:11:1
--> $DIR/win64-zst.rs:24:1
|
LL | extern "win64" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -0,0 +1,67 @@
error: fn_abi_of(pass_zst) = FnAbi {
args: [
ArgAbi {
layout: TyAndLayout {
ty: (),
layout: Layout {
size: Size(0 bytes),
align: AbiAndPrefAlign {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
sized: true,
},
fields: Arbitrary {
offsets: [],
memory_index: [],
},
largest_niche: None,
variants: Single {
index: 0,
},
max_repr_align: None,
unadjusted_abi_align: $SOME_ALIGN,
},
},
mode: Ignore,
},
],
ret: ArgAbi {
layout: TyAndLayout {
ty: (),
layout: Layout {
size: Size(0 bytes),
align: AbiAndPrefAlign {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
sized: true,
},
fields: Arbitrary {
offsets: [],
memory_index: [],
},
largest_niche: None,
variants: Single {
index: 0,
},
max_repr_align: None,
unadjusted_abi_align: $SOME_ALIGN,
},
},
mode: Ignore,
},
c_variadic: false,
fixed_count: 1,
conv: X86_64Win64,
can_unwind: false,
}
--> $DIR/win64-zst.rs:24:1
|
LL | extern "win64" fn pass_zst(_: ()) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error

View File

@ -10,7 +10,7 @@ error: layout_of(E) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -48,7 +48,7 @@ error: layout_of(E) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -150,7 +150,7 @@ error: layout_of(U) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(
@ -337,7 +337,7 @@ error: layout_of(V) = Layout {
abi: Align(2 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(
@ -361,7 +361,7 @@ error: layout_of(W) = Layout {
abi: Align(2 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(
@ -385,7 +385,7 @@ error: layout_of(Y) = Layout {
abi: Align(2 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(
@ -409,7 +409,7 @@ error: layout_of(P1) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(
@ -433,7 +433,7 @@ error: layout_of(P2) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(
@ -457,7 +457,7 @@ error: layout_of(P3) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(
@ -481,7 +481,7 @@ error: layout_of(P4) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Union(

View File

@ -18,7 +18,7 @@ enum ScalarPairPointerWithInt { //~ERROR: abi: ScalarPair
// of a different size. (Assumes that no target has 8 bit pointers, which
// feels pretty safe.)
#[rustc_layout(abi)]
enum NotScalarPairPointerWithSmallerInt { //~ERROR: abi: Aggregate
enum NotScalarPairPointerWithSmallerInt { //~ERROR: abi: Memory
A(u8),
B(Box<()>),
}

View File

@ -4,7 +4,7 @@ error: abi: ScalarPair(Initialized { value: Int(I?, false), valid_range: $VALID_
LL | enum ScalarPairPointerWithInt {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: abi: Aggregate { sized: true }
error: abi: Memory { sized: true }
--> $DIR/enum-scalar-pair-int-ptr.rs:21:1
|
LL | enum NotScalarPairPointerWithSmallerInt {

View File

@ -48,7 +48,7 @@ error: layout_of(A) = Layout {
abi: Align(1 bytes),
pref: Align(1 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -122,7 +122,7 @@ error: layout_of(B) = Layout {
abi: Align(1 bytes),
pref: Align(1 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -196,7 +196,7 @@ error: layout_of(C) = Layout {
abi: Align(2 bytes),
pref: Align(2 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -270,7 +270,7 @@ error: layout_of(P) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -344,7 +344,7 @@ error: layout_of(T) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -90,7 +90,7 @@ error: layout_of(MissingPayloadField) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -489,7 +489,7 @@ error: layout_of(NicheFirst) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -509,7 +509,7 @@ error: layout_of(NicheFirst) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -641,7 +641,7 @@ error: layout_of(NicheSecond) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -661,7 +661,7 @@ error: layout_of(NicheSecond) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -4,7 +4,7 @@ error: layout_of(Aligned1) = Layout {
abi: Align(8 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -42,7 +42,7 @@ error: layout_of(Aligned1) = Layout {
abi: Align(8 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -64,7 +64,7 @@ error: layout_of(Aligned1) = Layout {
abi: Align(8 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -142,7 +142,7 @@ error: layout_of(Aligned2) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -164,7 +164,7 @@ error: layout_of(Aligned2) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -6,7 +6,7 @@
#![crate_type = "lib"]
#[rustc_layout(abi)]
struct AlignedZstPreventsScalar(i16, [i32; 0]); //~ERROR: abi: Aggregate
struct AlignedZstPreventsScalar(i16, [i32; 0]); //~ERROR: abi: Memory
#[rustc_layout(abi)]
struct AlignedZstButStillScalar(i32, [i16; 0]); //~ERROR: abi: Scalar

View File

@ -1,4 +1,4 @@
error: abi: Aggregate { sized: true }
error: abi: Memory { sized: true }
--> $DIR/struct.rs:9:1
|
LL | struct AlignedZstPreventsScalar(i16, [i32; 0]);

View File

@ -48,7 +48,7 @@ error: layout_of(A) = Layout {
abi: Align(1 bytes),
pref: Align(4 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -122,7 +122,7 @@ error: layout_of(B) = Layout {
abi: Align(1 bytes),
pref: Align(4 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -196,7 +196,7 @@ error: layout_of(C) = Layout {
abi: Align(2 bytes),
pref: Align(4 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -270,7 +270,7 @@ error: layout_of(P) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -344,7 +344,7 @@ error: layout_of(T) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -4,7 +4,7 @@ error: layout_of(Result<[u32; 0], bool>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -42,7 +42,7 @@ error: layout_of(Result<[u32; 0], bool>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -66,7 +66,7 @@ error: layout_of(Result<[u32; 0], bool>) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -109,7 +109,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -147,7 +147,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(2 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -171,7 +171,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -195,7 +195,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -238,7 +238,7 @@ error: layout_of(Result<[u32; 0], Packed<NonZero<u16>>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -276,7 +276,7 @@ error: layout_of(Result<[u32; 0], Packed<NonZero<u16>>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -300,7 +300,7 @@ error: layout_of(Result<[u32; 0], Packed<NonZero<u16>>>) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -343,7 +343,7 @@ error: layout_of(Result<[u32; 0], Packed<U16IsZero>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -385,7 +385,7 @@ error: layout_of(Result<[u32; 0], Packed<U16IsZero>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -409,7 +409,7 @@ error: layout_of(Result<[u32; 0], Packed<U16IsZero>>) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -190,7 +190,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -254,7 +254,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -190,7 +190,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -254,7 +254,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -190,7 +190,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -254,7 +254,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -190,7 +190,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -254,7 +254,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -190,7 +190,7 @@ error: layout_of(DeadBranchHasOtherFieldU8) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -254,7 +254,7 @@ error: layout_of(DeadBranchHasOtherFieldU8) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {

View File

@ -124,7 +124,7 @@ error: layout_of(Option<(u32) is 1..=>) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {
@ -232,7 +232,7 @@ error: layout_of(Option<NonZero<u32>>) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Aggregate {
abi: Memory {
sized: true,
},
fields: Arbitrary {