1 error[E0277]: the trait bound `for<'b> fn(&'b ()): Foo` is not satisfied
2 --> $DIR/higher-ranked-fn-type.rs:20:5
5 | ^^^^^^ the trait `for<'b> Foo` is not implemented for `fn(&'b ())`
7 note: required by a bound in `called`
8 --> $DIR/higher-ranked-fn-type.rs:12:25
11 | ------ required by a bound in this
13 LL | for<'b> fn(&'b ()): Foo,
14 | ^^^ required by this bound in `called`
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0277`.