Skip to content

Commit b8d962b

Browse files
committed
Fix tests and tidy
1 parent 2c4ee54 commit b8d962b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

compiler/rustc_feature/src/unstable.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -355,12 +355,12 @@ declare_features! (
355355
// feature-group-start: actual feature gates
356356
// -------------------------------------------------------------------------
357357

358-
/// Allows `extern "gpu-kernel" fn()`.
359-
(unstable, abi_gpu_kernel, "CURRENT_RUSTC_VERSION", Some(135467)),
360358
/// Allows `extern "avr-interrupt" fn()` and `extern "avr-non-blocking-interrupt" fn()`.
361359
(unstable, abi_avr_interrupt, "1.45.0", Some(69664)),
362360
/// Allows `extern "C-cmse-nonsecure-call" fn()`.
363361
(unstable, abi_c_cmse_nonsecure_call, "1.51.0", Some(81391)),
362+
/// Allows `extern "gpu-kernel" fn()`.
363+
(unstable, abi_gpu_kernel, "CURRENT_RUSTC_VERSION", Some(135467)),
364364
/// Allows `extern "msp430-interrupt" fn()`.
365365
(unstable, abi_msp430_interrupt, "1.16.0", Some(38487)),
366366
/// Allows `extern "ptx-*" fn()`.

tests/ui/feature-gates/feature-gate-abi_gpu_kernel.stderr

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error[E0658]: gpu-kernel ABI is experimental and subject to change
44
LL | extern "gpu-kernel" fn f1(_: ()) {}
55
| ^^^^^^^^^^^^
66
|
7-
= note: see issue #135024 <https://github.com/rust-lang/rust/issues/135024> for more information
7+
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
88
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010

@@ -14,7 +14,7 @@ error[E0658]: gpu-kernel ABI is experimental and subject to change
1414
LL | extern "gpu-kernel" fn m1(_: ());
1515
| ^^^^^^^^^^^^
1616
|
17-
= note: see issue #135024 <https://github.com/rust-lang/rust/issues/135024> for more information
17+
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
1818
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

@@ -24,7 +24,7 @@ error[E0658]: gpu-kernel ABI is experimental and subject to change
2424
LL | extern "gpu-kernel" fn dm1(_: ()) {}
2525
| ^^^^^^^^^^^^
2626
|
27-
= note: see issue #135024 <https://github.com/rust-lang/rust/issues/135024> for more information
27+
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
2828
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
2929
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030

@@ -34,7 +34,7 @@ error[E0658]: gpu-kernel ABI is experimental and subject to change
3434
LL | extern "gpu-kernel" fn m1(_: ()) {}
3535
| ^^^^^^^^^^^^
3636
|
37-
= note: see issue #135024 <https://github.com/rust-lang/rust/issues/135024> for more information
37+
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
3838
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
3939
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040

@@ -44,7 +44,7 @@ error[E0658]: gpu-kernel ABI is experimental and subject to change
4444
LL | extern "gpu-kernel" fn im1(_: ()) {}
4545
| ^^^^^^^^^^^^
4646
|
47-
= note: see issue #135024 <https://github.com/rust-lang/rust/issues/135024> for more information
47+
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
4848
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
4949
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5050

@@ -54,7 +54,7 @@ error[E0658]: gpu-kernel ABI is experimental and subject to change
5454
LL | type A1 = extern "gpu-kernel" fn(_: ());
5555
| ^^^^^^^^^^^^
5656
|
57-
= note: see issue #135024 <https://github.com/rust-lang/rust/issues/135024> for more information
57+
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
5858
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
5959
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
6060

@@ -64,7 +64,7 @@ error[E0658]: gpu-kernel ABI is experimental and subject to change
6464
LL | extern "gpu-kernel" {}
6565
| ^^^^^^^^^^^^
6666
|
67-
= note: see issue #135024 <https://github.com/rust-lang/rust/issues/135024> for more information
67+
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
6868
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
6969
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
7070

0 commit comments

Comments
 (0)