Skip to content

Commit 6657aa9

Browse files
committed
Bless UI tests
1 parent 310f837 commit 6657aa9

7 files changed

+54
-54
lines changed

tests/ui/abi/unsupported.aarch64.stderr

+10-10
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ error: aborting due to 19 previous errors; 10 warnings emitted
208208
For more information about this error, try `rustc --explain E0570`.
209209
Future incompatibility report: Future breakage diagnostic:
210210
warning: the calling convention "ptx-kernel" is not supported on this target
211-
--> $DIR/unsupported.rs:36:15
211+
--> $DIR/unsupported.rs:35:15
212212
|
213213
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
214214
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -219,7 +219,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
219219

220220
Future breakage diagnostic:
221221
warning: the calling convention "aapcs" is not supported on this target
222-
--> $DIR/unsupported.rs:52:17
222+
--> $DIR/unsupported.rs:51:17
223223
|
224224
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
225225
| ^^^^^^^^^^^^^^^^^^^
@@ -230,7 +230,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
230230

231231
Future breakage diagnostic:
232232
warning: the calling convention "msp430-interrupt" is not supported on this target
233-
--> $DIR/unsupported.rs:74:18
233+
--> $DIR/unsupported.rs:73:18
234234
|
235235
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
236236
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -241,7 +241,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
241241

242242
Future breakage diagnostic:
243243
warning: the calling convention "avr-interrupt" is not supported on this target
244-
--> $DIR/unsupported.rs:84:15
244+
--> $DIR/unsupported.rs:83:15
245245
|
246246
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
247247
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -252,7 +252,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
252252

253253
Future breakage diagnostic:
254254
warning: the calling convention "riscv-interrupt-m" is not supported on this target
255-
--> $DIR/unsupported.rs:97:17
255+
--> $DIR/unsupported.rs:96:17
256256
|
257257
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
258258
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -263,7 +263,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
263263

264264
Future breakage diagnostic:
265265
warning: the calling convention "x86-interrupt" is not supported on this target
266-
--> $DIR/unsupported.rs:119:15
266+
--> $DIR/unsupported.rs:118:15
267267
|
268268
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
269269
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -274,7 +274,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
274274

275275
Future breakage diagnostic:
276276
warning: the calling convention "thiscall" is not supported on this target
277-
--> $DIR/unsupported.rs:142:20
277+
--> $DIR/unsupported.rs:141:20
278278
|
279279
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
280280
| ^^^^^^^^^^^^^^^^^^^^^^
@@ -285,7 +285,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
285285

286286
Future breakage diagnostic:
287287
warning: the calling convention "stdcall" is not supported on this target
288-
--> $DIR/unsupported.rs:168:19
288+
--> $DIR/unsupported.rs:167:19
289289
|
290290
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
291291
| ^^^^^^^^^^^^^^^^^^^^^
@@ -296,7 +296,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
296296

297297
Future breakage diagnostic:
298298
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
299-
--> $DIR/unsupported.rs:188:21
299+
--> $DIR/unsupported.rs:187:21
300300
|
301301
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
302302
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -307,7 +307,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
307307

308308
Future breakage diagnostic:
309309
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
310-
--> $DIR/unsupported.rs:196:22
310+
--> $DIR/unsupported.rs:195:22
311311
|
312312
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
313313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/unsupported.arm.stderr

+9-9
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ error: aborting due to 17 previous errors; 9 warnings emitted
187187
For more information about this error, try `rustc --explain E0570`.
188188
Future incompatibility report: Future breakage diagnostic:
189189
warning: the calling convention "ptx-kernel" is not supported on this target
190-
--> $DIR/unsupported.rs:36:15
190+
--> $DIR/unsupported.rs:35:15
191191
|
192192
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
193193
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -198,7 +198,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
198198

199199
Future breakage diagnostic:
200200
warning: the calling convention "msp430-interrupt" is not supported on this target
201-
--> $DIR/unsupported.rs:74:18
201+
--> $DIR/unsupported.rs:73:18
202202
|
203203
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
204204
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -209,7 +209,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
209209

210210
Future breakage diagnostic:
211211
warning: the calling convention "avr-interrupt" is not supported on this target
212-
--> $DIR/unsupported.rs:84:15
212+
--> $DIR/unsupported.rs:83:15
213213
|
214214
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
215215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -220,7 +220,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
220220

221221
Future breakage diagnostic:
222222
warning: the calling convention "riscv-interrupt-m" is not supported on this target
223-
--> $DIR/unsupported.rs:97:17
223+
--> $DIR/unsupported.rs:96:17
224224
|
225225
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
226226
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -231,7 +231,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
231231

232232
Future breakage diagnostic:
233233
warning: the calling convention "x86-interrupt" is not supported on this target
234-
--> $DIR/unsupported.rs:119:15
234+
--> $DIR/unsupported.rs:118:15
235235
|
236236
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
237237
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -242,7 +242,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
242242

243243
Future breakage diagnostic:
244244
warning: the calling convention "thiscall" is not supported on this target
245-
--> $DIR/unsupported.rs:142:20
245+
--> $DIR/unsupported.rs:141:20
246246
|
247247
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
248248
| ^^^^^^^^^^^^^^^^^^^^^^
@@ -253,7 +253,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
253253

254254
Future breakage diagnostic:
255255
warning: the calling convention "stdcall" is not supported on this target
256-
--> $DIR/unsupported.rs:168:19
256+
--> $DIR/unsupported.rs:167:19
257257
|
258258
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
259259
| ^^^^^^^^^^^^^^^^^^^^^
@@ -264,7 +264,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
264264

265265
Future breakage diagnostic:
266266
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
267-
--> $DIR/unsupported.rs:188:21
267+
--> $DIR/unsupported.rs:187:21
268268
|
269269
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
270270
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -275,7 +275,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
275275

276276
Future breakage diagnostic:
277277
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
278-
--> $DIR/unsupported.rs:196:22
278+
--> $DIR/unsupported.rs:195:22
279279
|
280280
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
281281
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/unsupported.i686.stderr

+7-7
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ error: aborting due to 13 previous errors; 7 warnings emitted
145145
For more information about this error, try `rustc --explain E0570`.
146146
Future incompatibility report: Future breakage diagnostic:
147147
warning: the calling convention "ptx-kernel" is not supported on this target
148-
--> $DIR/unsupported.rs:36:15
148+
--> $DIR/unsupported.rs:35:15
149149
|
150150
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
151151
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -156,7 +156,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
156156

157157
Future breakage diagnostic:
158158
warning: the calling convention "aapcs" is not supported on this target
159-
--> $DIR/unsupported.rs:52:17
159+
--> $DIR/unsupported.rs:51:17
160160
|
161161
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
162162
| ^^^^^^^^^^^^^^^^^^^
@@ -167,7 +167,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
167167

168168
Future breakage diagnostic:
169169
warning: the calling convention "msp430-interrupt" is not supported on this target
170-
--> $DIR/unsupported.rs:74:18
170+
--> $DIR/unsupported.rs:73:18
171171
|
172172
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
173173
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -178,7 +178,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
178178

179179
Future breakage diagnostic:
180180
warning: the calling convention "avr-interrupt" is not supported on this target
181-
--> $DIR/unsupported.rs:84:15
181+
--> $DIR/unsupported.rs:83:15
182182
|
183183
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
184184
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -189,7 +189,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
189189

190190
Future breakage diagnostic:
191191
warning: the calling convention "riscv-interrupt-m" is not supported on this target
192-
--> $DIR/unsupported.rs:97:17
192+
--> $DIR/unsupported.rs:96:17
193193
|
194194
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
195195
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -200,7 +200,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
200200

201201
Future breakage diagnostic:
202202
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
203-
--> $DIR/unsupported.rs:188:21
203+
--> $DIR/unsupported.rs:187:21
204204
|
205205
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
206206
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -211,7 +211,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
211211

212212
Future breakage diagnostic:
213213
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
214-
--> $DIR/unsupported.rs:196:22
214+
--> $DIR/unsupported.rs:195:22
215215
|
216216
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
217217
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/unsupported.riscv32.stderr

+9-9
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ error: aborting due to 17 previous errors; 9 warnings emitted
187187
For more information about this error, try `rustc --explain E0570`.
188188
Future incompatibility report: Future breakage diagnostic:
189189
warning: the calling convention "ptx-kernel" is not supported on this target
190-
--> $DIR/unsupported.rs:36:15
190+
--> $DIR/unsupported.rs:35:15
191191
|
192192
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
193193
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -198,7 +198,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
198198

199199
Future breakage diagnostic:
200200
warning: the calling convention "aapcs" is not supported on this target
201-
--> $DIR/unsupported.rs:52:17
201+
--> $DIR/unsupported.rs:51:17
202202
|
203203
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
204204
| ^^^^^^^^^^^^^^^^^^^
@@ -209,7 +209,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
209209

210210
Future breakage diagnostic:
211211
warning: the calling convention "msp430-interrupt" is not supported on this target
212-
--> $DIR/unsupported.rs:74:18
212+
--> $DIR/unsupported.rs:73:18
213213
|
214214
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
215215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -220,7 +220,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
220220

221221
Future breakage diagnostic:
222222
warning: the calling convention "avr-interrupt" is not supported on this target
223-
--> $DIR/unsupported.rs:84:15
223+
--> $DIR/unsupported.rs:83:15
224224
|
225225
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
226226
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -231,7 +231,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
231231

232232
Future breakage diagnostic:
233233
warning: the calling convention "x86-interrupt" is not supported on this target
234-
--> $DIR/unsupported.rs:119:15
234+
--> $DIR/unsupported.rs:118:15
235235
|
236236
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
237237
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -242,7 +242,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
242242

243243
Future breakage diagnostic:
244244
warning: the calling convention "thiscall" is not supported on this target
245-
--> $DIR/unsupported.rs:142:20
245+
--> $DIR/unsupported.rs:141:20
246246
|
247247
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
248248
| ^^^^^^^^^^^^^^^^^^^^^^
@@ -253,7 +253,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
253253

254254
Future breakage diagnostic:
255255
warning: the calling convention "stdcall" is not supported on this target
256-
--> $DIR/unsupported.rs:168:19
256+
--> $DIR/unsupported.rs:167:19
257257
|
258258
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
259259
| ^^^^^^^^^^^^^^^^^^^^^
@@ -264,7 +264,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
264264

265265
Future breakage diagnostic:
266266
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
267-
--> $DIR/unsupported.rs:188:21
267+
--> $DIR/unsupported.rs:187:21
268268
|
269269
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
270270
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -275,7 +275,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
275275

276276
Future breakage diagnostic:
277277
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
278-
--> $DIR/unsupported.rs:196:22
278+
--> $DIR/unsupported.rs:195:22
279279
|
280280
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
281281
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/unsupported.riscv64.stderr

+9-9
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ error: aborting due to 17 previous errors; 9 warnings emitted
187187
For more information about this error, try `rustc --explain E0570`.
188188
Future incompatibility report: Future breakage diagnostic:
189189
warning: the calling convention "ptx-kernel" is not supported on this target
190-
--> $DIR/unsupported.rs:36:15
190+
--> $DIR/unsupported.rs:35:15
191191
|
192192
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
193193
| ^^^^^^^^^^^^^^^^^^^^^^^^
@@ -198,7 +198,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
198198

199199
Future breakage diagnostic:
200200
warning: the calling convention "aapcs" is not supported on this target
201-
--> $DIR/unsupported.rs:52:17
201+
--> $DIR/unsupported.rs:51:17
202202
|
203203
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
204204
| ^^^^^^^^^^^^^^^^^^^
@@ -209,7 +209,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
209209

210210
Future breakage diagnostic:
211211
warning: the calling convention "msp430-interrupt" is not supported on this target
212-
--> $DIR/unsupported.rs:74:18
212+
--> $DIR/unsupported.rs:73:18
213213
|
214214
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
215215
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -220,7 +220,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
220220

221221
Future breakage diagnostic:
222222
warning: the calling convention "avr-interrupt" is not supported on this target
223-
--> $DIR/unsupported.rs:84:15
223+
--> $DIR/unsupported.rs:83:15
224224
|
225225
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
226226
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -231,7 +231,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
231231

232232
Future breakage diagnostic:
233233
warning: the calling convention "x86-interrupt" is not supported on this target
234-
--> $DIR/unsupported.rs:119:15
234+
--> $DIR/unsupported.rs:118:15
235235
|
236236
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
237237
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -242,7 +242,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
242242

243243
Future breakage diagnostic:
244244
warning: the calling convention "thiscall" is not supported on this target
245-
--> $DIR/unsupported.rs:142:20
245+
--> $DIR/unsupported.rs:141:20
246246
|
247247
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
248248
| ^^^^^^^^^^^^^^^^^^^^^^
@@ -253,7 +253,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
253253

254254
Future breakage diagnostic:
255255
warning: the calling convention "stdcall" is not supported on this target
256-
--> $DIR/unsupported.rs:168:19
256+
--> $DIR/unsupported.rs:167:19
257257
|
258258
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
259259
| ^^^^^^^^^^^^^^^^^^^^^
@@ -264,7 +264,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
264264

265265
Future breakage diagnostic:
266266
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
267-
--> $DIR/unsupported.rs:188:21
267+
--> $DIR/unsupported.rs:187:21
268268
|
269269
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
270270
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -275,7 +275,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
275275

276276
Future breakage diagnostic:
277277
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
278-
--> $DIR/unsupported.rs:196:22
278+
--> $DIR/unsupported.rs:195:22
279279
|
280280
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
281281
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)