You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #156716 - heinwol:fix-ui-tests-alloc-id-parallel-frontend, r=petrochenkov
tests: fix: parallel frontend test failures: different alloc ids
Removed the `//@ ignore-parallel-frontend different alloc ids` directive from all the ui tests applicable and replaced it with `//@ normalize-stderr` so that all alloc ids mentions are converted into a single placeholder. Thus the tests are passed
Part of [#154314](#154314)
r? @petrochenkov
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
30
30
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
31
-
HEX_DUMP
31
+
╾ALLOC$ID╼ HEX_DUMP
32
32
}
33
33
34
34
error[E0080]: constructing invalid value of type &[u8]: at .<deref>[0], encountered uninitialized memory, but expected an integer
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
41
41
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
42
-
HEX_DUMP
42
+
╾ALLOC$ID╼ HEX_DUMP
43
43
}
44
44
45
45
error[E0080]: constructing invalid value of type &[u8]: at .<deref>[0], encountered a pointer, but expected an integer
@@ -52,7 +52,7 @@ LL | pub static S5: &[u8] = unsafe { from_raw_parts((&D3) as *const _ as _, size
52
52
= help: the absolute address of a pointer is not known at compile-time, so such operations are not supported
53
53
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
54
54
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
55
-
HEX_DUMP
55
+
╾ALLOC$ID╼ HEX_DUMP
56
56
}
57
57
58
58
error[E0080]: constructing invalid value of type &[bool]: at .<deref>[0], encountered 0x11, but expected a boolean
@@ -63,7 +63,7 @@ LL | pub static S6: &[bool] = unsafe { from_raw_parts((&D0) as *const _ as _, 4)
63
63
|
64
64
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
65
65
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
66
-
HEX_DUMP
66
+
╾ALLOC$ID╼ HEX_DUMP
67
67
}
68
68
69
69
error[E0080]: constructing invalid value of type &[u16]: at .<deref>[1], encountered uninitialized memory, but expected an integer
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
76
76
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
77
-
HEX_DUMP
77
+
╾ALLOC$ID╼ HEX_DUMP
78
78
}
79
79
80
80
error[E0080]: constructing invalid value of type &[u64]: encountered a dangling reference (going beyond the bounds of its allocation)
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
87
87
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
88
-
HEX_DUMP
88
+
╾ALLOC$ID╼ HEX_DUMP
89
89
}
90
90
91
91
error[E0080]: constructing invalid value of type &[u32]: encountered a null reference
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `R1` failed here
107
107
108
-
error[E0080]: in-bounds pointer arithmetic failed: attempting to offset pointer by 8 bytes, but got ALLOC10 which is only 4 bytes from the end of the allocation
108
+
error[E0080]: in-bounds pointer arithmetic failed: attempting to offset pointer by 8 bytes, but got ALLOC$ID which is only 4 bytes from the end of the allocation
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
121
121
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
122
-
HEX_DUMP
122
+
╾ALLOC$ID╼ HEX_DUMP
123
123
}
124
124
125
125
error[E0080]: constructing invalid value of type &[u8]: at .<deref>[0], encountered a pointer, but expected an integer
= help: the absolute address of a pointer is not known at compile-time, so such operations are not supported
133
133
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
134
134
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
135
-
HEX_DUMP
135
+
╾ALLOC$ID╼ HEX_DUMP
136
136
}
137
137
138
138
error[E0080]: constructing invalid value of type &[bool]: at .<deref>[0], encountered 0x11, but expected a boolean
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
145
145
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
146
-
HEX_DUMP
146
+
╾ALLOC$ID╼ HEX_DUMP
147
147
}
148
148
149
149
error[E0080]: constructing invalid value of type &[u16]: encountered an unaligned reference (required 2 byte alignment but found 1)
= note: the rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior.
156
156
= note: the raw bytes of the constant (size: $SIZE, align: $ALIGN) {
157
-
HEX_DUMP
157
+
╾ALLOC$ID╼ HEX_DUMP
158
158
}
159
159
160
-
error[E0080]: in-bounds pointer arithmetic failed: attempting to offset pointer by 8 bytes, but got ALLOC11+0x1 which is only 7 bytes from the end of the allocation
160
+
error[E0080]: in-bounds pointer arithmetic failed: attempting to offset pointer by 8 bytes, but got ALLOC$ID+0x1 which is only 7 bytes from the end of the allocation
0 commit comments