adjust Layout debug printing to match the internal field names

This commit is contained in:
Ralf Jung
2025-02-28 16:30:59 +01:00
parent 2f581937e1
commit 476b0980f2
21 changed files with 162 additions and 162 deletions
+1 -1
View File
@@ -1812,7 +1812,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Layout")
.field("size", size)
.field("align", align)
.field("abi", backend_repr)
.field("backend_repr", backend_repr)
.field("fields", fields)
.field("largest_niche", largest_niche)
.field("uninhabited", uninhabited)
+2 -2
View File
@@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -38,7 +38,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+2 -2
View File
@@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -49,7 +49,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+2 -2
View File
@@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -49,7 +49,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+2 -2
View File
@@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -49,7 +49,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+2 -2
View File
@@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -38,7 +38,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -49,7 +49,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+24 -24
View File
@@ -9,7 +9,7 @@ error: fn_abi_of(test) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -48,7 +48,7 @@ error: fn_abi_of(test) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -107,7 +107,7 @@ error: fn_abi_of(TestFnPtr) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -155,7 +155,7 @@ error: fn_abi_of(TestFnPtr) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -205,7 +205,7 @@ error: fn_abi_of(test_generic) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Pointer(
AddressSpace(
@@ -245,7 +245,7 @@ error: fn_abi_of(test_generic) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -292,7 +292,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -331,7 +331,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -366,7 +366,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -405,7 +405,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -446,7 +446,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Array {
@@ -486,7 +486,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -521,7 +521,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Array {
@@ -561,7 +561,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -602,7 +602,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Float(
F32,
@@ -640,7 +640,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -675,7 +675,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -714,7 +714,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -755,7 +755,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -794,7 +794,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -829,7 +829,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -868,7 +868,7 @@ error: ABIs are not compatible
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -923,7 +923,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Pointer(
AddressSpace(
@@ -975,7 +975,7 @@ error: fn_abi_of(assoc_test) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+2 -2
View File
@@ -9,7 +9,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -38,7 +38,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
abi: $SOME_ALIGN,
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+18 -18
View File
@@ -10,7 +10,7 @@ error: layout_of(E) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -49,7 +49,7 @@ error: layout_of(E) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -71,7 +71,7 @@ error: layout_of(E) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -112,7 +112,7 @@ error: layout_of(S) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -160,7 +160,7 @@ error: layout_of(U) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -186,7 +186,7 @@ error: layout_of(Result<i32, i32>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -238,7 +238,7 @@ error: layout_of(Result<i32, i32>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -277,7 +277,7 @@ error: layout_of(Result<i32, i32>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -327,7 +327,7 @@ error: layout_of(i32) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -357,7 +357,7 @@ error: layout_of(V) = Layout {
abi: Align(2 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -383,7 +383,7 @@ error: layout_of(W) = Layout {
abi: Align(2 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -409,7 +409,7 @@ error: layout_of(Y) = Layout {
abi: Align(2 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -435,7 +435,7 @@ error: layout_of(P1) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -461,7 +461,7 @@ error: layout_of(P2) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -487,7 +487,7 @@ error: layout_of(P3) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -513,7 +513,7 @@ error: layout_of(P4) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Union(
@@ -539,7 +539,7 @@ error: layout_of(P5) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Union {
value: Int(
I8,
@@ -570,7 +570,7 @@ error: layout_of(MaybeUninit<u8>) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Union {
value: Int(
I8,
+10 -10
View File
@@ -4,7 +4,7 @@ error: layout_of(A) = Layout {
abi: Align(1 bytes),
pref: Align(1 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -49,7 +49,7 @@ error: layout_of(A) = Layout {
abi: Align(1 bytes),
pref: Align(1 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -82,7 +82,7 @@ error: layout_of(B) = Layout {
abi: Align(1 bytes),
pref: Align(1 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -127,7 +127,7 @@ error: layout_of(B) = Layout {
abi: Align(1 bytes),
pref: Align(1 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -160,7 +160,7 @@ error: layout_of(C) = Layout {
abi: Align(2 bytes),
pref: Align(2 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I16,
@@ -205,7 +205,7 @@ error: layout_of(C) = Layout {
abi: Align(2 bytes),
pref: Align(2 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -238,7 +238,7 @@ error: layout_of(P) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -283,7 +283,7 @@ error: layout_of(P) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -316,7 +316,7 @@ error: layout_of(T) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -361,7 +361,7 @@ error: layout_of(T) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(MissingPayloadField) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -55,7 +55,7 @@ error: layout_of(MissingPayloadField) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -93,7 +93,7 @@ error: layout_of(MissingPayloadField) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -126,7 +126,7 @@ error: layout_of(CommonPayloadField) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -178,7 +178,7 @@ error: layout_of(CommonPayloadField) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -217,7 +217,7 @@ error: layout_of(CommonPayloadField) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -267,7 +267,7 @@ error: layout_of(CommonPayloadFieldIsMaybeUninit) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -318,7 +318,7 @@ error: layout_of(CommonPayloadFieldIsMaybeUninit) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -356,7 +356,7 @@ error: layout_of(CommonPayloadFieldIsMaybeUninit) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -405,7 +405,7 @@ error: layout_of(NicheFirst) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -460,7 +460,7 @@ error: layout_of(NicheFirst) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -510,7 +510,7 @@ error: layout_of(NicheFirst) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -532,7 +532,7 @@ error: layout_of(NicheFirst) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -565,7 +565,7 @@ error: layout_of(NicheSecond) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -620,7 +620,7 @@ error: layout_of(NicheSecond) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -670,7 +670,7 @@ error: layout_of(NicheSecond) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -692,7 +692,7 @@ error: layout_of(NicheSecond) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(Aligned1) = Layout {
abi: Align(8 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -43,7 +43,7 @@ error: layout_of(Aligned1) = Layout {
abi: Align(8 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -67,7 +67,7 @@ error: layout_of(Aligned1) = Layout {
abi: Align(8 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -104,7 +104,7 @@ error: layout_of(Aligned2) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -149,7 +149,7 @@ error: layout_of(Aligned2) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -173,7 +173,7 @@ error: layout_of(Aligned2) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
+10 -10
View File
@@ -4,7 +4,7 @@ error: layout_of(A) = Layout {
abi: Align(1 bytes),
pref: Align(4 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -49,7 +49,7 @@ error: layout_of(A) = Layout {
abi: Align(1 bytes),
pref: Align(4 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -82,7 +82,7 @@ error: layout_of(B) = Layout {
abi: Align(1 bytes),
pref: Align(4 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -127,7 +127,7 @@ error: layout_of(B) = Layout {
abi: Align(1 bytes),
pref: Align(4 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -160,7 +160,7 @@ error: layout_of(C) = Layout {
abi: Align(2 bytes),
pref: Align(4 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I16,
@@ -205,7 +205,7 @@ error: layout_of(C) = Layout {
abi: Align(2 bytes),
pref: Align(4 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -238,7 +238,7 @@ error: layout_of(P) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -283,7 +283,7 @@ error: layout_of(P) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -316,7 +316,7 @@ error: layout_of(T) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -361,7 +361,7 @@ error: layout_of(T) = Layout {
abi: Align(4 bytes),
pref: Align(4 bytes),
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(Result<[u32; 0], bool>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -43,7 +43,7 @@ error: layout_of(Result<[u32; 0], bool>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -69,7 +69,7 @@ error: layout_of(Result<[u32; 0], bool>) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -115,7 +115,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -154,7 +154,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(2 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -180,7 +180,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -206,7 +206,7 @@ error: layout_of(MultipleAlignments) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -252,7 +252,7 @@ error: layout_of(Result<[u32; 0], Packed<NonZero<u16>>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -291,7 +291,7 @@ error: layout_of(Result<[u32; 0], Packed<NonZero<u16>>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -317,7 +317,7 @@ error: layout_of(Result<[u32; 0], Packed<NonZero<u16>>>) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -363,7 +363,7 @@ error: layout_of(Result<[u32; 0], Packed<U16IsZero>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -406,7 +406,7 @@ error: layout_of(Result<[u32; 0], Packed<U16IsZero>>) = Layout {
abi: Align(4 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -432,7 +432,7 @@ error: layout_of(Result<[u32; 0], Packed<U16IsZero>>) = Layout {
abi: Align(1 bytes),
pref: $PREF_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -49,7 +49,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -92,7 +92,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -143,7 +143,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -181,7 +181,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -230,7 +230,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -269,7 +269,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -299,7 +299,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -49,7 +49,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -92,7 +92,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -143,7 +143,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -181,7 +181,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -230,7 +230,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -269,7 +269,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -299,7 +299,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -49,7 +49,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -92,7 +92,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -143,7 +143,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -181,7 +181,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -230,7 +230,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -269,7 +269,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -299,7 +299,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -49,7 +49,7 @@ error: layout_of(Univariant) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -92,7 +92,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -143,7 +143,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -181,7 +181,7 @@ error: layout_of(TwoVariants) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I32,
@@ -230,7 +230,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -269,7 +269,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -299,7 +299,7 @@ error: layout_of(DeadBranchHasOtherField) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(UnivariantU8) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -49,7 +49,7 @@ error: layout_of(UnivariantU8) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I8,
@@ -92,7 +92,7 @@ error: layout_of(TwoVariantsU8) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -143,7 +143,7 @@ error: layout_of(TwoVariantsU8) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -181,7 +181,7 @@ error: layout_of(TwoVariantsU8) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: ScalarPair(
backend_repr: ScalarPair(
Initialized {
value: Int(
I8,
@@ -230,7 +230,7 @@ error: layout_of(DeadBranchHasOtherFieldU8) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -269,7 +269,7 @@ error: layout_of(DeadBranchHasOtherFieldU8) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -299,7 +299,7 @@ error: layout_of(DeadBranchHasOtherFieldU8) = Layout {
abi: Align(8 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -4,7 +4,7 @@ error: layout_of(NonZero<u32>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -50,7 +50,7 @@ error: layout_of((u32) is 1..=) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -89,7 +89,7 @@ error: layout_of(Option<(u32) is 1..=>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -129,7 +129,7 @@ error: layout_of(Option<(u32) is 1..=>) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -151,7 +151,7 @@ error: layout_of(Option<(u32) is 1..=>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -203,7 +203,7 @@ error: layout_of(Option<NonZero<u32>>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -243,7 +243,7 @@ error: layout_of(Option<NonZero<u32>>) = Layout {
abi: Align(1 bytes),
pref: $SOME_ALIGN,
},
abi: Memory {
backend_repr: Memory {
sized: true,
},
fields: Arbitrary {
@@ -265,7 +265,7 @@ error: layout_of(Option<NonZero<u32>>) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,
@@ -317,7 +317,7 @@ error: layout_of(NonZeroU32New) = Layout {
abi: Align(4 bytes),
pref: $SOME_ALIGN,
},
abi: Scalar(
backend_repr: Scalar(
Initialized {
value: Int(
I32,