--> $DIR/fn-trait-formatting.rs:19:14
|
LL | fn needs_fn<F>(x: F) where F: Fn(isize) -> isize {}
- | -------- ------------------ required by this bound in `needs_fn`
+ | ------------------ required by this bound in `needs_fn`
...
LL | needs_fn(1);
| ^ expected an `Fn<(isize,)>` closure, found `{integer}`