]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / ui / feature-gates / feature-gate-unboxed-closures-manual-impls.stderr
1 error[E0658]: rust-call ABI is subject to change
2   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:12:12
3    |
4 LL |     extern "rust-call" fn call(self, args: ()) -> () {}
5    |            ^^^^^^^^^^^
6    |
7    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
8    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
9
10 error[E0658]: rust-call ABI is subject to change
11   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:19:12
12    |
13 LL |     extern "rust-call" fn call_once(self, args: ()) -> () {}
14    |            ^^^^^^^^^^^
15    |
16    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
17    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
18
19 error[E0658]: rust-call ABI is subject to change
20   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:26:12
21    |
22 LL |     extern "rust-call" fn call_mut(&self, args: ()) -> () {}
23    |            ^^^^^^^^^^^
24    |
25    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
26    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
27
28 error[E0658]: rust-call ABI is subject to change
29   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:33:12
30    |
31 LL |     extern "rust-call" fn call_once(&self, args: ()) -> () {}
32    |            ^^^^^^^^^^^
33    |
34    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
35    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
36
37 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
38   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:9:6
39    |
40 LL | impl Fn<()> for Foo {
41    |      ^^^^^^
42    |
43    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
44    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
45
46 error[E0183]: manual implementations of `Fn` are experimental
47   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:9:6
48    |
49 LL | impl Fn<()> for Foo {
50    |      ^^^^^^ manual implementations of `Fn` are experimental
51    |
52    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
53
54 error[E0183]: manual implementations of `FnOnce` are experimental
55   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:16:6
56    |
57 LL | impl FnOnce() for Foo1 {
58    |      ^^^^^^^^ manual implementations of `FnOnce` are experimental
59    |
60    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
61
62 error[E0229]: associated type bindings are not allowed here
63   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:16:6
64    |
65 LL | impl FnOnce() for Foo1 {
66    |      ^^^^^^^^ associated type not allowed here
67
68 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
69   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23:6
70    |
71 LL | impl FnMut<()> for Bar {
72    |      ^^^^^^^^^
73    |
74    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
75    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
76
77 error[E0183]: manual implementations of `FnMut` are experimental
78   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23:6
79    |
80 LL | impl FnMut<()> for Bar {
81    |      ^^^^^^^^^ manual implementations of `FnMut` are experimental
82    |
83    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
84
85 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
86   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:30:6
87    |
88 LL | impl FnOnce<()> for Baz {
89    |      ^^^^^^^^^^
90    |
91    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
92    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
93
94 error[E0183]: manual implementations of `FnOnce` are experimental
95   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:30:6
96    |
97 LL | impl FnOnce<()> for Baz {
98    |      ^^^^^^^^^^ manual implementations of `FnOnce` are experimental
99    |
100    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
101
102 error: aborting due to 12 previous errors
103
104 Some errors have detailed explanations: E0183, E0229, E0658.
105 For more information about an error, try `rustc --explain E0183`.