error[E0597]: `c` does not live long enough
- --> $DIR/dropck-eyepatch.rs:80:20
+ --> $DIR/dropck-eyepatch.rs:79:20
|
LL | dt = Dt("dt", &c);
| ^ borrowed value does not live long enough
= 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.rs:82:20
+ --> $DIR/dropck-eyepatch.rs:81:20
|
LL | dr = Dr("dr", &c);
| ^ borrowed value does not live long enough
= 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.rs:90:29
+ --> $DIR/dropck-eyepatch.rs:89:29
|
LL | pt = Pt("pt", &c_long, &c);
| ^ borrowed value does not live long enough
= 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.rs:92:29
+ --> $DIR/dropck-eyepatch.rs:91:29
|
LL | pr = Pr("pr", &c_long, &c);
| ^ borrowed value does not live long enough