fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: implementation of `Y` is not general enough 2 --> $DIR/impl-fn-ignore-binder-via-bottom.rs:30:14 3 | 4LL | let _x = <fn(&())>::make_f(); 5 | ^^^^^^^^^^^^^^^^^^^ implementation of `Y` is not general enough 6 | 7 = note: `Y` would have to be implemented for the type `for<'a> fn(&'a ())` 8 = note: ...but `Y` is actually implemented for the type `fn(&'0 ())`, for some specific lifetime `'0` 9 10error: implementation of `Y` is not general enough 11 --> $DIR/impl-fn-ignore-binder-via-bottom.rs:30:14 12 | 13LL | let _x = <fn(&())>::make_f(); 14 | ^^^^^^^^^^^^^^^^^^^ implementation of `Y` is not general enough 15 | 16 = note: `Y` would have to be implemented for the type `for<'a> fn(&'a ())` 17 = note: ...but `Y` is actually implemented for the type `fn(&'0 ())`, for some specific lifetime `'0` 18 19error: implementation of `Y` is not general enough 20 --> $DIR/impl-fn-ignore-binder-via-bottom.rs:30:14 21 | 22LL | let _x = <fn(&())>::make_f(); 23 | ^^^^^^^^^^^^^^^^^^^ implementation of `Y` is not general enough 24 | 25 = note: `Y` would have to be implemented for the type `for<'a> fn(&'a ())` 26 = note: ...but `Y` is actually implemented for the type `fn(&'0 ())`, for some specific lifetime `'0` 27 28error: aborting due to 3 previous errors 29