fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
4.5 KiB111 linesraw
1error[E0658]: rust-call ABI is subject to change
2  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:12: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:19: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:26: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:33: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   |      ^^^^^^
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[E0183]: manual implementations of `Fn` are experimental
47  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:9:6
48   |
49LL | 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
54error[E0183]: manual implementations of `FnOnce` are experimental
55  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:16:6
56   |
57LL | 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
62error[E0229]: associated type bindings are not allowed here
63  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:16:6
64   |
65LL | impl FnOnce() for Foo1 {
66   |      ^^^^^^^^ associated type not allowed here
67   |
68help: parenthesized trait syntax expands to `FnOnce<(), Output=()>`
69  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:16:6
70   |
71LL | impl FnOnce() for Foo1 {
72   |      ^^^^^^^^
73
74error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
75  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23:6
76   |
77LL | impl FnMut<()> for Bar {
78   |      ^^^^^^^^^
79   |
80   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
81   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
82
83error[E0183]: manual implementations of `FnMut` are experimental
84  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23:6
85   |
86LL | impl FnMut<()> for Bar {
87   |      ^^^^^^^^^ manual implementations of `FnMut` are experimental
88   |
89   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
90
91error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
92  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:30:6
93   |
94LL | impl FnOnce<()> for Baz {
95   |      ^^^^^^^^^^
96   |
97   = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
98   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
99
100error[E0183]: manual implementations of `FnOnce` are experimental
101  --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:30:6
102   |
103LL | impl FnOnce<()> for Baz {
104   |      ^^^^^^^^^^ manual implementations of `FnOnce` are experimental
105   |
106   = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
107
108error: aborting due to 12 previous errors
109
110Some errors have detailed explanations: E0183, E0229, E0658.
111For more information about an error, try `rustc --explain E0183`.