1 error[E0282]: type annotations needed for `fn() -> A`
2 --> $DIR/fn-needing-specified-return-type-param.rs:3:13
5 | - ^ cannot infer type for type parameter `A` declared on the function `f`
7 | consider giving this pattern the explicit type `fn() -> A`, where the type parameter `A` is specified
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0282`.