--> $DIR/issue-46989.rs:40:18
|
LL | fn assert_foo<T: Foo>() {}
- | ---------- --- required by this bound in `assert_foo`
+ | --- required by this bound in `assert_foo`
...
LL | assert_foo::<fn(&i32)>();
| ^^^^^^^^ the trait `Foo` is not implemented for `for<'r> fn(&'r i32)`