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