fork/rust

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

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

master
654 B18 linesraw
1error: lifetime may not live long enough
2  --> $DIR/unsatisfied-outlives-bounds.rs:10:14
3   |
4LL | fn parametrized0<'any>() {
5   |                  ---- lifetime `'any` defined here
6LL |     let () = C::<'static, &'any ()>;
7   |              ^^^^^^^^^^^^^^^^^^^^^^ requires that `'any` must outlive `'static`
8
9error: lifetime may not live long enough
10  --> $DIR/unsatisfied-outlives-bounds.rs:14:14
11   |
12LL | fn parametrized1<'any>() {
13   |                  ---- lifetime `'any` defined here
14LL |     let () = K::<'static, 'any>;
15   |              ^^^^^^^^^^^^^^^^^^ requires that `'any` must outlive `'static`
16
17error: aborting due to 2 previous errors
18