fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: implementation of `Foo` is not general enough 2 --> $DIR/issue-46989.rs:38:5 3 | 4LL | assert_foo::<fn(&i32)>(); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Foo` is not general enough 6 | 7 = note: `Foo` would have to be implemented for the type `for<'a> fn(&'a i32)` 8 = note: ...but `Foo` is actually implemented for the type `fn(&'0 i32)`, for some specific lifetime `'0` 9 10error: aborting due to previous error 11