Bless UI tests
This commit is contained in:
parent
9b78d48c11
commit
2bf5cc93e6
10 changed files with 616 additions and 1 deletions
|
@ -206,3 +206,113 @@ LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
|
|||
error: aborting due to 19 previous errors; 10 warnings emitted
|
||||
|
||||
For more information about this error, try `rustc --explain E0570`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "ptx-kernel" is not supported on this target
|
||||
--> $DIR/unsupported.rs:36:15
|
||||
|
|
||||
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "aapcs" is not supported on this target
|
||||
--> $DIR/unsupported.rs:52:17
|
||||
|
|
||||
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "msp430-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:74:18
|
||||
|
|
||||
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "avr-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:84:15
|
||||
|
|
||||
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "riscv-interrupt-m" is not supported on this target
|
||||
--> $DIR/unsupported.rs:97:17
|
||||
|
|
||||
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "x86-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:119:15
|
||||
|
|
||||
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "thiscall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:142:20
|
||||
|
|
||||
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "stdcall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:168:19
|
||||
|
|
||||
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
|
||||
--> $DIR/unsupported.rs:188:21
|
||||
|
|
||||
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
|
||||
--> $DIR/unsupported.rs:196:22
|
||||
|
|
||||
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
|
|
|
@ -185,3 +185,102 @@ LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
|
|||
error: aborting due to 17 previous errors; 9 warnings emitted
|
||||
|
||||
For more information about this error, try `rustc --explain E0570`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "ptx-kernel" is not supported on this target
|
||||
--> $DIR/unsupported.rs:36:15
|
||||
|
|
||||
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "msp430-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:74:18
|
||||
|
|
||||
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "avr-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:84:15
|
||||
|
|
||||
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "riscv-interrupt-m" is not supported on this target
|
||||
--> $DIR/unsupported.rs:97:17
|
||||
|
|
||||
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "x86-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:119:15
|
||||
|
|
||||
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "thiscall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:142:20
|
||||
|
|
||||
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "stdcall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:168:19
|
||||
|
|
||||
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
|
||||
--> $DIR/unsupported.rs:188:21
|
||||
|
|
||||
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
|
||||
--> $DIR/unsupported.rs:196:22
|
||||
|
|
||||
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
|
|
|
@ -143,3 +143,80 @@ LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
|
|||
error: aborting due to 13 previous errors; 7 warnings emitted
|
||||
|
||||
For more information about this error, try `rustc --explain E0570`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "ptx-kernel" is not supported on this target
|
||||
--> $DIR/unsupported.rs:36:15
|
||||
|
|
||||
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "aapcs" is not supported on this target
|
||||
--> $DIR/unsupported.rs:52:17
|
||||
|
|
||||
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "msp430-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:74:18
|
||||
|
|
||||
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "avr-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:84:15
|
||||
|
|
||||
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "riscv-interrupt-m" is not supported on this target
|
||||
--> $DIR/unsupported.rs:97:17
|
||||
|
|
||||
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
|
||||
--> $DIR/unsupported.rs:188:21
|
||||
|
|
||||
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
|
||||
--> $DIR/unsupported.rs:196:22
|
||||
|
|
||||
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
|
|
|
@ -185,3 +185,102 @@ LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
|
|||
error: aborting due to 17 previous errors; 9 warnings emitted
|
||||
|
||||
For more information about this error, try `rustc --explain E0570`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "ptx-kernel" is not supported on this target
|
||||
--> $DIR/unsupported.rs:36:15
|
||||
|
|
||||
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "aapcs" is not supported on this target
|
||||
--> $DIR/unsupported.rs:52:17
|
||||
|
|
||||
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "msp430-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:74:18
|
||||
|
|
||||
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "avr-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:84:15
|
||||
|
|
||||
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "x86-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:119:15
|
||||
|
|
||||
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "thiscall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:142:20
|
||||
|
|
||||
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "stdcall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:168:19
|
||||
|
|
||||
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
|
||||
--> $DIR/unsupported.rs:188:21
|
||||
|
|
||||
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
|
||||
--> $DIR/unsupported.rs:196:22
|
||||
|
|
||||
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
|
|
|
@ -185,3 +185,102 @@ LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
|
|||
error: aborting due to 17 previous errors; 9 warnings emitted
|
||||
|
||||
For more information about this error, try `rustc --explain E0570`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "ptx-kernel" is not supported on this target
|
||||
--> $DIR/unsupported.rs:36:15
|
||||
|
|
||||
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "aapcs" is not supported on this target
|
||||
--> $DIR/unsupported.rs:52:17
|
||||
|
|
||||
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "msp430-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:74:18
|
||||
|
|
||||
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "avr-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:84:15
|
||||
|
|
||||
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "x86-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:119:15
|
||||
|
|
||||
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "thiscall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:142:20
|
||||
|
|
||||
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "stdcall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:168:19
|
||||
|
|
||||
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
|
||||
--> $DIR/unsupported.rs:188:21
|
||||
|
|
||||
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
|
||||
--> $DIR/unsupported.rs:196:22
|
||||
|
|
||||
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
|
|
|
@ -185,3 +185,102 @@ LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
|
|||
error: aborting due to 17 previous errors; 9 warnings emitted
|
||||
|
||||
For more information about this error, try `rustc --explain E0570`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "ptx-kernel" is not supported on this target
|
||||
--> $DIR/unsupported.rs:36:15
|
||||
|
|
||||
LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "aapcs" is not supported on this target
|
||||
--> $DIR/unsupported.rs:52:17
|
||||
|
|
||||
LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "msp430-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:74:18
|
||||
|
|
||||
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "avr-interrupt" is not supported on this target
|
||||
--> $DIR/unsupported.rs:84:15
|
||||
|
|
||||
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "riscv-interrupt-m" is not supported on this target
|
||||
--> $DIR/unsupported.rs:97:17
|
||||
|
|
||||
LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "thiscall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:142:20
|
||||
|
|
||||
LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "stdcall" is not supported on this target
|
||||
--> $DIR/unsupported.rs:168:19
|
||||
|
|
||||
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
|
||||
--> $DIR/unsupported.rs:188:21
|
||||
|
|
||||
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
|
||||
--> $DIR/unsupported.rs:196:22
|
||||
|
|
||||
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
//@ ignore-arm stdcall isn't supported
|
||||
//@ ignore-x86 stdcall isn't supported
|
||||
#![feature(extended_varargs_abi_support)]
|
||||
|
||||
#[allow(unsupported_fn_ptr_calling_conventions)]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
error[E0045]: C-variadic function must have a compatible calling convention, like `C`, `cdecl`, `system`, `aapcs`, `win64`, `sysv64` or `efiapi`
|
||||
--> $DIR/variadic-ffi-2.rs:5:11
|
||||
--> $DIR/variadic-ffi-2.rs:6:11
|
||||
|
|
||||
LL | fn baz(f: extern "stdcall" fn(usize, ...)) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ C-variadic function must have a compatible calling convention
|
||||
|
@ -7,3 +7,13 @@ LL | fn baz(f: extern "stdcall" fn(usize, ...)) {
|
|||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0045`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "stdcall" is not supported on this target
|
||||
--> $DIR/variadic-ffi-2.rs:6:11
|
||||
|
|
||||
LL | fn baz(f: extern "stdcall" fn(usize, ...)) {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
|
||||
|
|
|
@ -11,3 +11,13 @@ LL | core::mem::transmute::<usize, extern "C-cmse-nonsecure-call" fn(i32
|
|||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0658`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
|
||||
--> $DIR/gate_test.rs:5:39
|
||||
|
|
||||
LL | core::mem::transmute::<usize, extern "C-cmse-nonsecure-call" fn(i32, i32, i32, i32) -> i32>(
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
|
||||
|
|
|
@ -112,3 +112,14 @@ error: aborting due to 12 previous errors; 1 warning emitted
|
|||
|
||||
Some errors have detailed explanations: E0570, E0658.
|
||||
For more information about an error, try `rustc --explain E0570`.
|
||||
Future incompatibility report: Future breakage diagnostic:
|
||||
warning: the calling convention "gpu-kernel" is not supported on this target
|
||||
--> $DIR/feature-gate-abi_gpu_kernel.rs:39:11
|
||||
|
|
||||
LL | type A1 = extern "gpu-kernel" fn(_: ());
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||||
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
|
||||
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue