fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
414 B18 linesraw
1error: higher-ranked lifetime error
2  --> $DIR/issue-59311.rs:17:5
3   |
4LL |     v.t(|| {});
5   |     ^^^^^^^^^^
6   |
7   = note: could not prove `{closure@$DIR/issue-59311.rs:17:9: 17:11} well-formed`
8
9error: higher-ranked lifetime error
10  --> $DIR/issue-59311.rs:17:9
11   |
12LL |     v.t(|| {});
13   |         ^^^^^
14   |
15   = note: could not prove `for<'a> &'a V: 'static`
16
17error: aborting due to 2 previous errors
18