fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
952 B23 linesraw
1error[E0658]: rust-call ABI is subject to change
2  --> $DIR/feature-gate-unboxed-closures.rs:9:5
3   |
4LL | /     extern "rust-call" fn call_once(self, (a, b): (u32, u32)) -> u32 {
5LL | |         a + b
6LL | |     }
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
12error[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   |
15LL | 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
21error: aborting due to 2 previous errors
22
23For more information about this error, try `rustc --explain E0658`.