fork/rust

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

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

master
521 B15 linesraw
1error[E0367]: `Drop` impl requires `'a: 'c` but the struct it is implemented for does not
2  --> $DIR/transitive-outlives.rs:20:9
3   |
4LL |     'a: 'c,
5   |         ^^
6   |
7note: the implementor must specify the same requirement
8  --> $DIR/transitive-outlives.rs:7:1
9   |
10LL | struct DropMe<'a, 'b: 'a, 'c: 'b>(PhantomData<&'a ()>, PhantomData<&'b ()>, PhantomData<&'c ()>);
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0367`.