summaryrefslogtreecommitdiffstats
path: root/tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr')
-rw-r--r--tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr b/tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr
index 20d4c418e..8c7c91535 100644
--- a/tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr
+++ b/tests/ui/layout/issue-96158-scalarpair-payload-might-be-uninit.stderr
@@ -370,23 +370,23 @@ error: layout_of(NicheFirst) = Layout {
pref: $PREF_ALIGN,
},
abi: ScalarPair(
- Union {
+ Initialized {
value: Int(
I8,
false,
),
+ valid_range: 0..=4,
},
- Initialized {
+ Union {
value: Int(
I8,
false,
),
- valid_range: 0..=4,
},
),
fields: Arbitrary {
offsets: [
- Size(1 bytes),
+ Size(0 bytes),
],
memory_index: [
0,
@@ -394,7 +394,7 @@ error: layout_of(NicheFirst) = Layout {
},
largest_niche: Some(
Niche {
- offset: Size(1 bytes),
+ offset: Size(0 bytes),
value: Int(
I8,
false,
@@ -429,29 +429,29 @@ error: layout_of(NicheFirst) = Layout {
I8,
false,
),
- valid_range: 0..=255,
+ valid_range: 0..=2,
},
Initialized {
value: Int(
I8,
false,
),
- valid_range: 0..=2,
+ valid_range: 0..=255,
},
),
fields: Arbitrary {
offsets: [
- Size(1 bytes),
Size(0 bytes),
+ Size(1 bytes),
],
memory_index: [
- 1,
0,
+ 1,
],
},
largest_niche: Some(
Niche {
- offset: Size(1 bytes),
+ offset: Size(0 bytes),
value: Int(
I8,
false,
@@ -514,23 +514,23 @@ error: layout_of(NicheSecond) = Layout {
pref: $PREF_ALIGN,
},
abi: ScalarPair(
- Union {
+ Initialized {
value: Int(
I8,
false,
),
+ valid_range: 0..=4,
},
- Initialized {
+ Union {
value: Int(
I8,
false,
),
- valid_range: 0..=4,
},
),
fields: Arbitrary {
offsets: [
- Size(1 bytes),
+ Size(0 bytes),
],
memory_index: [
0,
@@ -538,7 +538,7 @@ error: layout_of(NicheSecond) = Layout {
},
largest_niche: Some(
Niche {
- offset: Size(1 bytes),
+ offset: Size(0 bytes),
value: Int(
I8,
false,
@@ -573,29 +573,29 @@ error: layout_of(NicheSecond) = Layout {
I8,
false,
),
- valid_range: 0..=255,
+ valid_range: 0..=2,
},
Initialized {
value: Int(
I8,
false,
),
- valid_range: 0..=2,
+ valid_range: 0..=255,
},
),
fields: Arbitrary {
offsets: [
- Size(0 bytes),
Size(1 bytes),
+ Size(0 bytes),
],
memory_index: [
- 0,
1,
+ 0,
],
},
largest_niche: Some(
Niche {
- offset: Size(1 bytes),
+ offset: Size(0 bytes),
value: Int(
I8,
false,