1 error: higher-ranked lifetime error
2 --> $DIR/issue-59311.rs:17:5
7 = note: could not prove `[closure@$DIR/issue-59311.rs:17:9: 17:11] well-formed`
9 error: higher-ranked lifetime error
10 --> $DIR/issue-59311.rs:17:9
15 = note: could not prove `for<'a> &'a V: 'static`
17 error: aborting due to 2 previous errors