Skip to content

Commit 6b03c52

Browse files
committed
bless the tests
1 parent ed44e64 commit 6b03c52

File tree

223 files changed

+311
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+311
-311
lines changed

tests/ui/abi/unsupported.aarch64.stderr

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
66
|
77
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
88
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
9-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
9+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
1010

1111
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
1212
--> $DIR/unsupported.rs:40:1
@@ -215,7 +215,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
215215
|
216216
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
217217
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
218-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
218+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
219219

220220
Future breakage diagnostic:
221221
warning: the calling convention "aapcs" is not supported on this target
@@ -226,7 +226,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
226226
|
227227
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
228228
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
229-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
229+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
230230

231231
Future breakage diagnostic:
232232
warning: the calling convention "msp430-interrupt" is not supported on this target
@@ -237,7 +237,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
237237
|
238238
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
239239
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
240-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
240+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
241241

242242
Future breakage diagnostic:
243243
warning: the calling convention "avr-interrupt" is not supported on this target
@@ -248,7 +248,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
248248
|
249249
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
250250
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
251-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
251+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
252252

253253
Future breakage diagnostic:
254254
warning: the calling convention "riscv-interrupt-m" is not supported on this target
@@ -259,7 +259,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
259259
|
260260
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
261261
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
262-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
262+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
263263

264264
Future breakage diagnostic:
265265
warning: the calling convention "x86-interrupt" is not supported on this target
@@ -270,7 +270,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
270270
|
271271
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
272272
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
273-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
273+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
274274

275275
Future breakage diagnostic:
276276
warning: the calling convention "thiscall" is not supported on this target
@@ -281,7 +281,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
281281
|
282282
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
283283
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
284-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
284+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
285285

286286
Future breakage diagnostic:
287287
warning: the calling convention "stdcall" is not supported on this target
@@ -292,7 +292,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
292292
|
293293
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
294294
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
295-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
295+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
296296

297297
Future breakage diagnostic:
298298
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
@@ -303,7 +303,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
303303
|
304304
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
305305
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
306-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
306+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
307307

308308
Future breakage diagnostic:
309309
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
@@ -314,5 +314,5 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
314314
|
315315
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
316316
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
317-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
317+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
318318

tests/ui/abi/unsupported.arm.stderr

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
66
|
77
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
88
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
9-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
9+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
1010

1111
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
1212
--> $DIR/unsupported.rs:40:1
@@ -194,7 +194,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
194194
|
195195
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
196196
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
197-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
197+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
198198

199199
Future breakage diagnostic:
200200
warning: the calling convention "msp430-interrupt" is not supported on this target
@@ -205,7 +205,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
205205
|
206206
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
207207
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
208-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
208+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
209209

210210
Future breakage diagnostic:
211211
warning: the calling convention "avr-interrupt" is not supported on this target
@@ -216,7 +216,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
216216
|
217217
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
218218
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
219-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
219+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
220220

221221
Future breakage diagnostic:
222222
warning: the calling convention "riscv-interrupt-m" is not supported on this target
@@ -227,7 +227,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
227227
|
228228
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
229229
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
230-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
230+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
231231

232232
Future breakage diagnostic:
233233
warning: the calling convention "x86-interrupt" is not supported on this target
@@ -238,7 +238,7 @@ LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
238238
|
239239
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
240240
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
241-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
241+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
242242

243243
Future breakage diagnostic:
244244
warning: the calling convention "thiscall" is not supported on this target
@@ -249,7 +249,7 @@ LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
249249
|
250250
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
251251
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
252-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
252+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
253253

254254
Future breakage diagnostic:
255255
warning: the calling convention "stdcall" is not supported on this target
@@ -260,7 +260,7 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
260260
|
261261
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
262262
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
263-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
263+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
264264

265265
Future breakage diagnostic:
266266
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
@@ -271,7 +271,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
271271
|
272272
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
273273
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
274-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
274+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
275275

276276
Future breakage diagnostic:
277277
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
@@ -282,5 +282,5 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
282282
|
283283
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
284284
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
285-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
285+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
286286

tests/ui/abi/unsupported.i686.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
66
|
77
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
88
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
9-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
9+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
1010

1111
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
1212
--> $DIR/unsupported.rs:40:1
@@ -152,7 +152,7 @@ LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
152152
|
153153
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
154154
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
155-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
155+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
156156

157157
Future breakage diagnostic:
158158
warning: the calling convention "aapcs" is not supported on this target
@@ -163,7 +163,7 @@ LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
163163
|
164164
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
165165
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
166-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
166+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
167167

168168
Future breakage diagnostic:
169169
warning: the calling convention "msp430-interrupt" is not supported on this target
@@ -174,7 +174,7 @@ LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
174174
|
175175
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
176176
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
177-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
177+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
178178

179179
Future breakage diagnostic:
180180
warning: the calling convention "avr-interrupt" is not supported on this target
@@ -185,7 +185,7 @@ LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
185185
|
186186
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
187187
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
188-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
188+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
189189

190190
Future breakage diagnostic:
191191
warning: the calling convention "riscv-interrupt-m" is not supported on this target
@@ -196,7 +196,7 @@ LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
196196
|
197197
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
198198
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
199-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
199+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
200200

201201
Future breakage diagnostic:
202202
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
@@ -207,7 +207,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
207207
|
208208
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
209209
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
210-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
210+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
211211

212212
Future breakage diagnostic:
213213
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
@@ -218,5 +218,5 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
218218
|
219219
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
220220
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
221-
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
221+
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` (part of `#[warn(future_incompatible)]`) on by default
222222

0 commit comments

Comments
 (0)