| ^^^^ expected an `Fn<(i32,)>` closure, found `dyn Fn(i32) -> i32`
|
= help: the trait `Fn<(i32,)>` is not implemented for `dyn Fn(i32) -> i32`
+help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
+ |
+LL | fn main() where dyn Fn(i32) -> i32: Fn<(i32,)> {
+ | ++++++++++++++++++++++++++++++++++++
error: aborting due to 3 previous errors