2021-06-07 14:25:19 -05:00
|
|
|
error: implementation of `Y` is not general enough
|
2022-04-01 12:13:25 -05:00
|
|
|
--> $DIR/impl-fn-ignore-binder-via-bottom.rs:30:14
|
2020-04-08 06:23:30 -05:00
|
|
|
|
|
|
|
|
LL | let _x = <fn(&())>::make_f();
|
2021-06-07 14:25:19 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ implementation of `Y` is not general enough
|
|
|
|
|
|
2022-09-21 10:57:30 -05:00
|
|
|
= note: `Y` would have to be implemented for the type `for<'a> fn(&'a ())`
|
2021-06-07 14:25:19 -05:00
|
|
|
= note: ...but `Y` is actually implemented for the type `fn(&'0 ())`, for some specific lifetime `'0`
|
2020-04-08 06:23:30 -05:00
|
|
|
|
2021-06-07 14:25:19 -05:00
|
|
|
error: implementation of `Y` is not general enough
|
2022-04-01 12:13:25 -05:00
|
|
|
--> $DIR/impl-fn-ignore-binder-via-bottom.rs:30:14
|
2020-04-08 06:23:30 -05:00
|
|
|
|
|
|
|
|
LL | let _x = <fn(&())>::make_f();
|
2021-06-07 14:25:19 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ implementation of `Y` is not general enough
|
|
|
|
|
|
2022-09-21 10:57:30 -05:00
|
|
|
= note: `Y` would have to be implemented for the type `for<'a> fn(&'a ())`
|
2021-06-07 14:25:19 -05:00
|
|
|
= note: ...but `Y` is actually implemented for the type `fn(&'0 ())`, for some specific lifetime `'0`
|
2020-04-08 06:23:30 -05:00
|
|
|
|
2022-07-13 12:42:08 -05:00
|
|
|
error: implementation of `Y` is not general enough
|
|
|
|
--> $DIR/impl-fn-ignore-binder-via-bottom.rs:30:14
|
|
|
|
|
|
|
|
|
LL | let _x = <fn(&())>::make_f();
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ implementation of `Y` is not general enough
|
|
|
|
|
|
2022-09-21 10:57:30 -05:00
|
|
|
= note: `Y` would have to be implemented for the type `for<'a> fn(&'a ())`
|
2022-07-13 12:42:08 -05:00
|
|
|
= note: ...but `Y` is actually implemented for the type `fn(&'0 ())`, for some specific lifetime `'0`
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2020-04-08 06:23:30 -05:00
|
|
|
|