2021-06-07 14:25:19 -05:00
|
|
|
error: implementation of `Trait` is not general enough
|
2022-04-01 12:13:25 -05:00
|
|
|
--> $DIR/hrtb-exists-forall-trait-invariant.rs:28:5
|
2020-06-08 18:12:01 -05:00
|
|
|
|
|
|
|
|
LL | foo::<()>();
|
2021-06-07 14:25:19 -05:00
|
|
|
| ^^^^^^^^^^^ implementation of `Trait` is not general enough
|
|
|
|
|
|
|
|
|
= note: `()` must implement `Trait<for<'b> fn(Cell<&'b u32>)>`
|
|
|
|
= note: ...but it actually implements `Trait<fn(Cell<&'0 u32>)>`, for some specific lifetime `'0`
|
2020-06-08 18:12:01 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|