1 error[E0597]: `o2` does not live long enough
2 --> $DIR/dropck_trait_cycle_checked.rs:121:14
4 LL | o1.set0(&o2); //~ ERROR `o2` does not live long enough
5 | ^^ borrowed value does not live long enough
8 | - borrowed value only lives until here
10 = note: borrowed value must be valid for the static lifetime...
12 error[E0597]: `o3` does not live long enough
13 --> $DIR/dropck_trait_cycle_checked.rs:122:14
15 LL | o1.set1(&o3); //~ ERROR `o3` does not live long enough
16 | ^^ borrowed value does not live long enough
19 | - borrowed value only lives until here
21 = note: borrowed value must be valid for the static lifetime...
23 error[E0597]: `o2` does not live long enough
24 --> $DIR/dropck_trait_cycle_checked.rs:123:14
26 LL | o2.set0(&o2); //~ ERROR `o2` does not live long enough
27 | ^^ borrowed value does not live long enough
30 | - borrowed value only lives until here
32 = note: borrowed value must be valid for the static lifetime...
34 error[E0597]: `o3` does not live long enough
35 --> $DIR/dropck_trait_cycle_checked.rs:124:14
37 LL | o2.set1(&o3); //~ ERROR `o3` does not live long enough
38 | ^^ borrowed value does not live long enough
41 | - borrowed value only lives until here
43 = note: borrowed value must be valid for the static lifetime...
45 error[E0597]: `o1` does not live long enough
46 --> $DIR/dropck_trait_cycle_checked.rs:125:14
48 LL | o3.set0(&o1); //~ ERROR `o1` does not live long enough
49 | ^^ borrowed value does not live long enough
50 LL | o3.set1(&o2); //~ ERROR `o2` does not live long enough
52 | - borrowed value only lives until here
54 = note: borrowed value must be valid for the static lifetime...
56 error[E0597]: `o2` does not live long enough
57 --> $DIR/dropck_trait_cycle_checked.rs:126:14
59 LL | o3.set1(&o2); //~ ERROR `o2` does not live long enough
60 | ^^ borrowed value does not live long enough
62 | - borrowed value only lives until here
64 = note: borrowed value must be valid for the static lifetime...
66 error: aborting due to 6 previous errors
68 For more information about this error, try `rustc --explain E0597`.