blob: 35db46f4faeb104a181e508e8b85499cd8307efa [file] [log] [blame]
error[E0597]: `c` does not live long enough
--> $DIR/dropck-eyepatch-extern-crate.rs:41:20
|
LL | dt = Dt("dt", &c);
| ^ borrowed value does not live long enough
...
LL | }
| - `c` dropped here while still borrowed
|
= note: values in a scope are dropped in the opposite order they are created
error[E0597]: `c` does not live long enough
--> $DIR/dropck-eyepatch-extern-crate.rs:43:20
|
LL | dr = Dr("dr", &c);
| ^ borrowed value does not live long enough
...
LL | }
| - `c` dropped here while still borrowed
|
= note: values in a scope are dropped in the opposite order they are created
error[E0597]: `c_shortest` does not live long enough
--> $DIR/dropck-eyepatch-extern-crate.rs:47:20
|
LL | dt = Dt("dt", &c_shortest);
| ^^^^^^^^^^ borrowed value does not live long enough
...
LL | }
| - `c_shortest` dropped here while still borrowed
|
= note: values in a scope are dropped in the opposite order they are created
error[E0597]: `c_shortest` does not live long enough
--> $DIR/dropck-eyepatch-extern-crate.rs:49:20
|
LL | dr = Dr("dr", &c_shortest);
| ^^^^^^^^^^ borrowed value does not live long enough
...
LL | }
| - `c_shortest` dropped here while still borrowed
|
= note: values in a scope are dropped in the opposite order they are created
error[E0597]: `c_shortest` does not live long enough
--> $DIR/dropck-eyepatch-extern-crate.rs:57:29
|
LL | pt = Pt("pt", &c_long, &c_shortest);
| ^^^^^^^^^^ borrowed value does not live long enough
...
LL | }
| - `c_shortest` dropped here while still borrowed
|
= note: values in a scope are dropped in the opposite order they are created
error[E0597]: `c_shortest` does not live long enough
--> $DIR/dropck-eyepatch-extern-crate.rs:59:29
|
LL | pr = Pr("pr", &c_long, &c_shortest);
| ^^^^^^^^^^ borrowed value does not live long enough
...
LL | }
| - `c_shortest` dropped here while still borrowed
|
= note: values in a scope are dropped in the opposite order they are created
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0597`.