11error[E0658]: rust-call ABI is subject to change
2- --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:11 :12
2+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:12 :12
33 |
44LL | extern "rust-call" fn call(self, args: ()) -> () {}
55 | ^^^^^^^^^^^
@@ -8,7 +8,7 @@ LL | extern "rust-call" fn call(self, args: ()) -> () {}
88 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
99
1010error[E0658]: rust-call ABI is subject to change
11- --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:17 :12
11+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:19 :12
1212 |
1313LL | extern "rust-call" fn call_once(self, args: ()) -> () {}
1414 | ^^^^^^^^^^^
@@ -17,7 +17,7 @@ LL | extern "rust-call" fn call_once(self, args: ()) -> () {}
1717 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
1818
1919error[E0658]: rust-call ABI is subject to change
20- --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23 :12
20+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:26 :12
2121 |
2222LL | extern "rust-call" fn call_mut(&self, args: ()) -> () {}
2323 | ^^^^^^^^^^^
@@ -26,7 +26,7 @@ LL | extern "rust-call" fn call_mut(&self, args: ()) -> () {}
2626 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
2727
2828error[E0658]: rust-call ABI is subject to change
29- --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:29 :12
29+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:33 :12
3030 |
3131LL | extern "rust-call" fn call_once(&self, args: ()) -> () {}
3232 | ^^^^^^^^^^^
@@ -44,13 +44,13 @@ LL | impl Fn<()> for Foo {
4444 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
4545
4646error[E0229]: associated type bindings are not allowed here
47- --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:15 :6
47+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:16 :6
4848 |
4949LL | impl FnOnce() for Foo1 {
5050 | ^^^^^^^^ associated type not allowed here
5151
5252error[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
53+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23 :6
5454 |
5555LL | impl FnMut<()> for Bar {
5656 | ^^^^^^^^^ help: use parenthetical notation instead: `FnMut() -> ()`
@@ -59,15 +59,47 @@ LL | impl FnMut<()> for Bar {
5959 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
6060
6161error[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
62+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:30 :6
6363 |
6464LL | impl FnOnce<()> for Baz {
6565 | ^^^^^^^^^^ help: use parenthetical notation instead: `FnOnce() -> ()`
6666 |
6767 = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
6868 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
6969
70- error: aborting due to 8 previous errors
70+ error[E0183]: manual implementations of `Fn` are experimental
71+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:9:1
72+ |
73+ LL | impl Fn<()> for Foo {
74+ | ^^^^^^^^^^^^^^^^^^^ manual implementations of `Fn` are experimental
75+ |
76+ = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
77+
78+ error[E0183]: manual implementations of `FnMut` are experimental
79+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:23:1
80+ |
81+ LL | impl FnMut<()> for Bar {
82+ | ^^^^^^^^^^^^^^^^^^^^^^ manual implementations of `FnMut` are experimental
83+ |
84+ = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
85+
86+ error[E0183]: manual implementations of `FnOnce` are experimental
87+ --> $DIR/feature-gate-unboxed-closures-manual-impls.rs:16:1
88+ |
89+ LL | impl FnOnce() for Foo1 {
90+ | ^^^^^^^^^^^^^^^^^^^^^^ manual implementations of `FnOnce` are experimental
91+ |
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:1
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
71103
72104Some errors have detailed explanations: E0229, E0658.
73105For more information about an error, try `rustc --explain E0229`.
0 commit comments