1 error[E0597]: `c` does not live long enough
2 --> $DIR/dropck-eyepatch-extern-crate.rs:41:20
4 LL | dt = Dt("dt", &c);
5 | ^ borrowed value does not live long enough
8 | - `c` dropped here while still borrowed
10 = note: values in a scope are dropped in the opposite order they are created
12 error[E0597]: `c` does not live long enough
13 --> $DIR/dropck-eyepatch-extern-crate.rs:43:20
15 LL | dr = Dr("dr", &c);
16 | ^ borrowed value does not live long enough
19 | - `c` dropped here while still borrowed
21 = note: values in a scope are dropped in the opposite order they are created
23 error[E0597]: `c_shortest` does not live long enough
24 --> $DIR/dropck-eyepatch-extern-crate.rs:47:20
26 LL | dt = Dt("dt", &c_shortest);
27 | ^^^^^^^^^^ borrowed value does not live long enough
30 | - `c_shortest` dropped here while still borrowed
32 = note: values in a scope are dropped in the opposite order they are created
34 error[E0597]: `c_shortest` does not live long enough
35 --> $DIR/dropck-eyepatch-extern-crate.rs:49:20
37 LL | dr = Dr("dr", &c_shortest);
38 | ^^^^^^^^^^ borrowed value does not live long enough
41 | - `c_shortest` dropped here while still borrowed
43 = note: values in a scope are dropped in the opposite order they are created
45 error[E0597]: `c_shortest` does not live long enough
46 --> $DIR/dropck-eyepatch-extern-crate.rs:57:29
48 LL | pt = Pt("pt", &c_long, &c_shortest);
49 | ^^^^^^^^^^ borrowed value does not live long enough
52 | - `c_shortest` dropped here while still borrowed
54 = note: values in a scope are dropped in the opposite order they are created
56 error[E0597]: `c_shortest` does not live long enough
57 --> $DIR/dropck-eyepatch-extern-crate.rs:59:29
59 LL | pr = Pr("pr", &c_long, &c_shortest);
60 | ^^^^^^^^^^ borrowed value does not live long enough
63 | - `c_shortest` dropped here while still borrowed
65 = note: values in a scope are dropped in the opposite order they are created
67 error: aborting due to 6 previous errors
69 For more information about this error, try `rustc --explain E0597`.