]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-unboxed-closures-manual-impls.stderr
MetadataOnlyCodegenBackend: remove `is_inline` call
[rust.git] / src / test / ui / feature-gates / feature-gate-unboxed-closures-manual-impls.stderr
1 error[E0658]: rust-call ABI is subject to change (see issue #29625)
2   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:11:5
3    |
4 LL |     extern "rust-call" fn call(self, args: ()) -> () {}
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
8
9 error[E0658]: rust-call ABI is subject to change (see issue #29625)
10   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:17:5
11    |
12 LL |     extern "rust-call" fn call_once(self, args: ()) -> () {}
13    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
16
17 error[E0658]: rust-call ABI is subject to change (see issue #29625)
18   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23:5
19    |
20 LL |     extern "rust-call" fn call_mut(&self, args: ()) -> () {}
21    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
24
25 error[E0658]: rust-call ABI is subject to change (see issue #29625)
26   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:29:5
27    |
28 LL |     extern "rust-call" fn call_once(&self, args: ()) -> () {}
29    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30    |
31    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
32
33 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead (see issue #29625)
34   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:9:6
35    |
36 LL | impl Fn<()> for Foo {
37    |      ^^^^^^
38    |
39    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
40
41 error[E0229]: associated type bindings are not allowed here
42   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:15:12
43    |
44 LL | impl FnOnce() for Foo1 {
45    |            ^^ associated type not allowed here
46
47 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead (see issue #29625)
48   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:21:6
49    |
50 LL | impl FnMut<()> for Bar {
51    |      ^^^^^^^^^
52    |
53    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
54
55 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead (see issue #29625)
56   --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:27:6
57    |
58 LL | impl FnOnce<()> for Baz {
59    |      ^^^^^^^^^^
60    |
61    = help: add #![feature(unboxed_closures)] to the crate attributes to enable
62
63 error: aborting due to 8 previous errors
64
65 Some errors occurred: E0229, E0658.
66 For more information about an error, try `rustc --explain E0229`.