fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
3.2 KiB73 linesraw
1error[E0658]: rust-call ABI is subject to change
2  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:11:12
3   |
4LL |     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
10error[E0658]: rust-call ABI is subject to change
11  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:17:12
12   |
13LL |     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
19error[E0658]: rust-call ABI is subject to change
20  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23:12
21   |
22LL |     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
28error[E0658]: rust-call ABI is subject to change
29  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:29:12
30   |
31LL |     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
37error[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   |
40LL | impl Fn<()> for Foo {
41   |      ^^^^^^ help: use parenthetical notation instead: `Fn() -> ()`
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
46error[E0229]: associated type bindings are not allowed here
47  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:15:6
48   |
49LL | impl FnOnce() for Foo1 {
50   |      ^^^^^^^^ associated type not allowed here
51
52error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
53  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:21:6
54   |
55LL | impl FnMut<()> for Bar {
56   |      ^^^^^^^^^ help: use parenthetical notation instead: `FnMut() -> ()`
57   |
58   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
59   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
60
61error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
62  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:27:6
63   |
64LL | impl FnOnce<()> for Baz {
65   |      ^^^^^^^^^^ help: use parenthetical notation instead: `FnOnce() -> ()`
66   |
67   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
68   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
69
70error: aborting due to 8 previous errors
71
72Some errors have detailed explanations: E0229, E0658.
73For more information about an error, try `rustc --explain E0229`.