]>
Commit | Line | Data |
---|---|---|
94222f64 | 1 | error: implementation of `Trait` is not general enough |
f035d41b XL |
2 | --> $DIR/hrtb-exists-forall-trait-invariant.rs:28:5 |
3 | | | |
4 | LL | foo::<()>(); | |
94222f64 XL |
5 | | ^^^^^^^^^^^ implementation of `Trait` is not general enough |
6 | | | |
7 | = note: `()` must implement `Trait<for<'b> fn(Cell<&'b u32>)>` | |
8 | = note: ...but it actually implements `Trait<fn(Cell<&'0 u32>)>`, for some specific lifetime `'0` | |
f035d41b XL |
9 | |
10 | error: aborting due to previous error | |
11 |