1
+ error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
2
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:16:8
3
+ |
4
+ LL | extern "gpu-kernel" fn f1(_: ()) {}
5
+ | ^^^^^^^^^^^^
6
+
1
7
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
2
- --> $DIR/feature-gate-abi_gpu_kernel.rs:11 :8
8
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:16 :8
3
9
|
4
10
LL | extern "gpu-kernel" fn f1(_: ()) {}
5
11
| ^^^^^^^^^^^^
@@ -8,8 +14,14 @@ LL | extern "gpu-kernel" fn f1(_: ()) {}
8
14
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
9
15
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
10
16
17
+ error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
18
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:21:12
19
+ |
20
+ LL | extern "gpu-kernel" fn m1(_: ());
21
+ | ^^^^^^^^^^^^
22
+
11
23
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
12
- --> $DIR/feature-gate-abi_gpu_kernel.rs:16 :12
24
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:21 :12
13
25
|
14
26
LL | extern "gpu-kernel" fn m1(_: ());
15
27
| ^^^^^^^^^^^^
@@ -18,8 +30,14 @@ LL | extern "gpu-kernel" fn m1(_: ());
18
30
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
19
31
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
32
33
+ error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
34
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:24:12
35
+ |
36
+ LL | extern "gpu-kernel" fn dm1(_: ()) {}
37
+ | ^^^^^^^^^^^^
38
+
21
39
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
22
- --> $DIR/feature-gate-abi_gpu_kernel.rs:18 :12
40
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:24 :12
23
41
|
24
42
LL | extern "gpu-kernel" fn dm1(_: ()) {}
25
43
| ^^^^^^^^^^^^
@@ -28,8 +46,14 @@ LL | extern "gpu-kernel" fn dm1(_: ()) {}
28
46
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
29
47
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
30
48
49
+ error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
50
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:32:12
51
+ |
52
+ LL | extern "gpu-kernel" fn m1(_: ()) {}
53
+ | ^^^^^^^^^^^^
54
+
31
55
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
32
- --> $DIR/feature-gate-abi_gpu_kernel.rs:26 :12
56
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:32 :12
33
57
|
34
58
LL | extern "gpu-kernel" fn m1(_: ()) {}
35
59
| ^^^^^^^^^^^^
@@ -38,8 +62,14 @@ LL | extern "gpu-kernel" fn m1(_: ()) {}
38
62
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
39
63
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
40
64
65
+ error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
66
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:38:12
67
+ |
68
+ LL | extern "gpu-kernel" fn im1(_: ()) {}
69
+ | ^^^^^^^^^^^^
70
+
41
71
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
42
- --> $DIR/feature-gate-abi_gpu_kernel.rs:32 :12
72
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:38 :12
43
73
|
44
74
LL | extern "gpu-kernel" fn im1(_: ()) {}
45
75
| ^^^^^^^^^^^^
@@ -48,78 +78,39 @@ LL | extern "gpu-kernel" fn im1(_: ()) {}
48
78
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
49
79
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
50
80
51
- error[E0658 ]: the extern "gpu-kernel" ABI is experimental and subject to change
52
- --> $DIR/feature-gate-abi_gpu_kernel.rs:37 :18
81
+ error[E0570 ]: ` "gpu-kernel"` is not a supported ABI for the current target
82
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:43 :18
53
83
|
54
84
LL | type A1 = extern "gpu-kernel" fn(_: ());
55
85
| ^^^^^^^^^^^^
56
- |
57
- = note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
58
- = help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
59
- = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
60
86
61
87
error[E0658]: the extern "gpu-kernel" ABI is experimental and subject to change
62
- --> $DIR/feature-gate-abi_gpu_kernel.rs:42:8
88
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:43:18
63
89
|
64
- LL | extern "gpu-kernel" {}
65
- | ^^^^^^^^^^^^
90
+ LL | type A1 = extern "gpu-kernel" fn(_: ());
91
+ | ^^^^^^^^^^^^
66
92
|
67
93
= note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
68
94
= help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
69
95
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
70
96
71
- warning: the calling convention "gpu-kernel" is not supported on this target
72
- --> $DIR/feature-gate-abi_gpu_kernel.rs:37:11
73
- |
74
- LL | type A1 = extern "gpu-kernel" fn(_: ());
75
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76
- |
77
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
78
- = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
79
- = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
80
-
81
97
error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
82
- --> $DIR/feature-gate-abi_gpu_kernel.rs:42:1
98
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:47:8
83
99
|
84
100
LL | extern "gpu-kernel" {}
85
- | ^^^^^^^^^^^^^^^^^^^^^^
86
-
87
- error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
88
- --> $DIR/feature-gate-abi_gpu_kernel.rs:11:1
89
- |
90
- LL | extern "gpu-kernel" fn f1(_: ()) {}
91
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
92
-
93
- error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
94
- --> $DIR/feature-gate-abi_gpu_kernel.rs:18:5
95
- |
96
- LL | extern "gpu-kernel" fn dm1(_: ()) {}
97
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101
+ | ^^^^^^^^^^^^
98
102
99
- error[E0570 ]: ` "gpu-kernel"` is not a supported ABI for the current target
100
- --> $DIR/feature-gate-abi_gpu_kernel.rs:26:5
103
+ error[E0658 ]: the extern "gpu-kernel" ABI is experimental and subject to change
104
+ --> $DIR/feature-gate-abi_gpu_kernel.rs:47:8
101
105
|
102
- LL | extern "gpu-kernel" fn m1(_: ()) {}
103
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
104
-
105
- error[E0570]: `"gpu-kernel"` is not a supported ABI for the current target
106
- --> $DIR/feature-gate-abi_gpu_kernel.rs:32:5
106
+ LL | extern "gpu-kernel" {}
107
+ | ^^^^^^^^^^^^
107
108
|
108
- LL | extern "gpu-kernel" fn im1(_: ()) {}
109
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109
+ = note: see issue #135467 <https://github.com/rust-lang/rust/issues/135467> for more information
110
+ = help: add `#![feature(abi_gpu_kernel)]` to the crate attributes to enable
111
+ = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
110
112
111
- error: aborting due to 12 previous errors; 1 warning emitted
113
+ error: aborting due to 14 previous errors
112
114
113
115
Some errors have detailed explanations: E0570, E0658.
114
116
For more information about an error, try `rustc --explain E0570`.
115
- Future incompatibility report: Future breakage diagnostic:
116
- warning: the calling convention "gpu-kernel" is not supported on this target
117
- --> $DIR/feature-gate-abi_gpu_kernel.rs:37:11
118
- |
119
- LL | type A1 = extern "gpu-kernel" fn(_: ());
120
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121
- |
122
- = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
123
- = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
124
- = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
125
-
0 commit comments