@@ -315,42 +315,6 @@ LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
315
315
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
316
316
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
317
317
318
- Future breakage diagnostic:
319
- warning: use of calling convention not supported on this target
320
- --> $DIR/unsupported.rs:131:17
321
- |
322
- LL | fn cdecl_ptr(f: extern "cdecl" fn()) {
323
- | ^^^^^^^^^^^^^^^^^^^
324
- |
325
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
326
- = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
327
- = help: use `extern "C"` instead
328
- = note: `#[warn(unsupported_calling_conventions)]` on by default
329
-
330
- Future breakage diagnostic:
331
- warning: use of calling convention not supported on this target
332
- --> $DIR/unsupported.rs:136:1
333
- |
334
- LL | extern "cdecl" {}
335
- | ^^^^^^^^^^^^^^^^^
336
- |
337
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
338
- = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
339
- = help: use `extern "C"` instead
340
- = note: `#[warn(unsupported_calling_conventions)]` on by default
341
-
342
- Future breakage diagnostic:
343
- warning: use of calling convention not supported on this target
344
- --> $DIR/unsupported.rs:139:1
345
- |
346
- LL | extern "cdecl-unwind" {}
347
- | ^^^^^^^^^^^^^^^^^^^^^^^^
348
- |
349
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
350
- = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
351
- = help: use `extern "C-unwind"` instead
352
- = note: `#[warn(unsupported_calling_conventions)]` on by default
353
-
354
318
Future breakage diagnostic:
355
319
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
356
320
--> $DIR/unsupported.rs:153:21
@@ -373,15 +337,3 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
373
337
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
374
338
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
375
339
376
- Future breakage diagnostic:
377
- warning: use of calling convention not supported on this target
378
- --> $DIR/unsupported.rs:128:1
379
- |
380
- LL | extern "cdecl" fn cdecl() {}
381
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
382
- |
383
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
384
- = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
385
- = help: use `extern "C"` instead
386
- = note: `#[warn(unsupported_calling_conventions)]` on by default
387
-
0 commit comments