1 error[E0277]: the trait bound `for<'r> fn(&'r i32): Foo` is not satisfied
2 --> $DIR/issue-46989.rs:40:18
4 LL | fn assert_foo<T: Foo>() {}
5 | --- required by this bound in `assert_foo`
7 LL | assert_foo::<fn(&i32)>();
8 | ^^^^^^^^ the trait `Foo` is not implemented for `for<'r> fn(&'r i32)`
10 = help: the following implementations were found:
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0277`.