1 error[E0597]: `o2` does not live long enough
2 --> $DIR/dropck_trait_cycle_checked.rs:111:13
4 LL | let (o1, o2, o3): (Box<dyn Obj>, Box<dyn Obj>, Box<dyn Obj>) = (O::new(), O::new(), O::new());
5 | -------- cast requires that `o2` is borrowed for `'static`
7 | ^^^ borrowed value does not live long enough
10 | - `o2` dropped here while still borrowed
12 error[E0597]: `o3` does not live long enough
13 --> $DIR/dropck_trait_cycle_checked.rs:112:13
15 LL | let (o1, o2, o3): (Box<dyn Obj>, Box<dyn Obj>, Box<dyn Obj>) = (O::new(), O::new(), O::new());
16 | -------- cast requires that `o3` is borrowed for `'static`
19 | ^^^ borrowed value does not live long enough
22 | - `o3` dropped here while still borrowed
24 error[E0597]: `o2` does not live long enough
25 --> $DIR/dropck_trait_cycle_checked.rs:113:13
27 LL | let (o1, o2, o3): (Box<dyn Obj>, Box<dyn Obj>, Box<dyn Obj>) = (O::new(), O::new(), O::new());
28 | -------- cast requires that `o2` is borrowed for `'static`
31 | ^^^ borrowed value does not live long enough
34 | - `o2` dropped here while still borrowed
36 error[E0597]: `o3` does not live long enough
37 --> $DIR/dropck_trait_cycle_checked.rs:114:13
39 LL | let (o1, o2, o3): (Box<dyn Obj>, Box<dyn Obj>, Box<dyn Obj>) = (O::new(), O::new(), O::new());
40 | -------- cast requires that `o3` is borrowed for `'static`
43 | ^^^ borrowed value does not live long enough
46 | - `o3` dropped here while still borrowed
48 error[E0597]: `o1` does not live long enough
49 --> $DIR/dropck_trait_cycle_checked.rs:115:13
51 LL | let (o1, o2, o3): (Box<dyn Obj>, Box<dyn Obj>, Box<dyn Obj>) = (O::new(), O::new(), O::new());
52 | -------- cast requires that `o1` is borrowed for `'static`
55 | ^^^ borrowed value does not live long enough
58 | - `o1` dropped here while still borrowed
60 error[E0597]: `o2` does not live long enough
61 --> $DIR/dropck_trait_cycle_checked.rs:116:13
63 LL | let (o1, o2, o3): (Box<dyn Obj>, Box<dyn Obj>, Box<dyn Obj>) = (O::new(), O::new(), O::new());
64 | -------- cast requires that `o2` is borrowed for `'static`
67 | ^^^ borrowed value does not live long enough
69 | - `o2` dropped here while still borrowed
71 error: aborting due to 6 previous errors
73 For more information about this error, try `rustc --explain E0597`.