]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/fn-trait-notation.stderr
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / ui / suggestions / fn-trait-notation.stderr
1 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
2   --> $DIR/fn-trait-notation.rs:4:8
3    |
4 LL |     F: Fn<i32, Output = i32>,
5    |        ^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(i32) -> i32`
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
10 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
11   --> $DIR/fn-trait-notation.rs:5:8
12    |
13 LL |     G: Fn<(i32, i32, ), Output = (i32, i32)>,
14    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(i32, i32) -> (i32, i32)`
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
19 error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change
20   --> $DIR/fn-trait-notation.rs:6:8
21    |
22 LL |     H: Fn<(i32,), Output = i32>,
23    |        ^^^^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(i32) -> i32`
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
28 error: aborting due to 3 previous errors
29
30 For more information about this error, try `rustc --explain E0658`.