1 error: `d2` does not live long enough
2 --> $DIR/dropck_direct_cycle_with_drop.rs:48:1
4 46 | d1.p.set(Some(&d2));
5 | -- borrow occurs here
6 47 | d2.p.set(Some(&d1));
8 | ^ `d2` dropped here while still borrowed
10 = note: values in a scope are dropped in the opposite order they are created
12 error: `d1` does not live long enough
13 --> $DIR/dropck_direct_cycle_with_drop.rs:48:1
15 47 | d2.p.set(Some(&d1));
16 | -- borrow occurs here
18 | ^ `d1` dropped here while still borrowed
20 = note: values in a scope are dropped in the opposite order they are created
22 error: aborting due to 2 previous errors