]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-unboxed-closures.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-unboxed-closures.stderr
1 error[E0658]: rust-call ABI is subject to change
2 --> $DIR/feature-gate-unboxed-closures.rs:9:5
3 |
4 LL | / extern "rust-call" fn call_once(self, (a, b): (u32, u32)) -> u32 {
5 LL | | a + b
6 LL | | }
7 | |_____^
8 |
9 = note: for more information, see https://github.com/rust-lang/rust/issues/29625
10 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
11
12 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change. Use parenthetical notation (Fn(Foo, Bar) -> Baz) instead
13 --> $DIR/feature-gate-unboxed-closures.rs:5:6
14 |
15 LL | impl FnOnce<(u32, u32)> for Test {
16 | ^^^^^^^^^^^^^^^^^^
17 |
18 = note: for more information, see https://github.com/rust-lang/rust/issues/29625
19 = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
20
21 error: aborting due to 2 previous errors
22
23 For more information about this error, try `rustc --explain E0658`.