fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change 2 --> $DIR/issue-23024.rs:8:39 3 | 4LL | println!("{:?}",(vfnfer[0] as dyn Fn)(3)); 5 | ^^ help: use parenthetical notation instead: `Fn() -> ()` 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[E0107]: missing generics for trait `Fn` 11 --> $DIR/issue-23024.rs:8:39 12 | 13LL | println!("{:?}",(vfnfer[0] as dyn Fn)(3)); 14 | ^^ expected 1 generic argument 15 | 16help: add missing generic argument 17 | 18LL | println!("{:?}",(vfnfer[0] as dyn Fn<Args>)(3)); 19 | ++++++ 20 21error[E0191]: the value of the associated type `Output` (from trait `FnOnce`) must be specified 22 --> $DIR/issue-23024.rs:8:39 23 | 24LL | println!("{:?}",(vfnfer[0] as dyn Fn)(3)); 25 | ^^ help: specify the associated type: `Fn<Output = Type>` 26 27error: aborting due to 3 previous errors 28 29Some errors have detailed explanations: E0107, E0191, E0658. 30For more information about an error, try `rustc --explain E0107`.