mirror of https://github.com/rust-lang/rust.git
126 lines
5.6 KiB
Plaintext
126 lines
5.6 KiB
Plaintext
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:11:8
|
|
|
|
|
LL | extern "gpu-kernel" fn f1(_: ()) {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
|
|
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:16:12
|
|
|
|
|
LL | extern "gpu-kernel" fn m1(_: ());
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
|
|
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:18:12
|
|
|
|
|
LL | extern "gpu-kernel" fn dm1(_: ()) {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
|
|
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:26:12
|
|
|
|
|
LL | extern "gpu-kernel" fn m1(_: ()) {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
|
|
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:32:12
|
|
|
|
|
LL | extern "gpu-kernel" fn im1(_: ()) {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
|
|
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:37:18
|
|
|
|
|
LL | type A1 = extern "gpu-kernel" fn(_: ());
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
|
|
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:42:8
|
|
|
|
|
LL | extern "gpu-kernel" {}
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
|
|
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
warning: the calling convention "gpu-kernel" is not supported on this target
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:37: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
|
|
|
|
error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:42:1
|
|
|
|
|
LL | extern "gpu-kernel" {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:11:1
|
|
|
|
|
LL | extern "gpu-kernel" fn f1(_: ()) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:18:5
|
|
|
|
|
LL | extern "gpu-kernel" fn dm1(_: ()) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:26:5
|
|
|
|
|
LL | extern "gpu-kernel" fn m1(_: ()) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
|
|
--> $DIR/feature-gate-abi_gpu_kernel.rs:32:5
|
|
|
|
|
LL | extern "gpu-kernel" fn im1(_: ()) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
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:37: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
|
|
|