2022-05-10 09:19:19 -05:00
|
|
|
error: higher-ranked lifetime error
|
2022-05-21 11:59:02 -05:00
|
|
|
--> $DIR/issue-59311.rs:21:5
|
2022-05-10 09:19:19 -05:00
|
|
|
|
|
|
|
|
LL | v.t(|| {});
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2022-05-21 11:59:02 -05:00
|
|
|
= note: could not prove [closure@$DIR/issue-59311.rs:21:9: 21:14] well-formed
|
2022-05-10 09:19:19 -05:00
|
|
|
|
|
|
|
error: higher-ranked lifetime error
|
2022-05-21 11:59:02 -05:00
|
|
|
--> $DIR/issue-59311.rs:21:9
|
2022-05-10 09:19:19 -05:00
|
|
|
|
|
|
|
|
LL | v.t(|| {});
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: could not prove for<'a> &'a V: 'static
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|