2017-05-27 19:58:52 +02:00
|
|
|
error[E0597]: `c` does not live long enough
|
2017-12-13 17:27:23 -08:00
|
|
|
--> $DIR/dropck-eyepatch-extern-crate.rs:39:20
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | dt = Dt("dt", &c);
|
2017-12-13 17:27:23 -08:00
|
|
|
| ^ borrowed value does not live long enough
|
2016-10-17 18:02:23 +02:00
|
|
|
...
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | }
|
2017-12-13 17:27:23 -08:00
|
|
|
| - `c` dropped here while still borrowed
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
|
|
|
= note: values in a scope are dropped in the opposite order they are created
|
|
|
|
|
2017-05-27 19:58:52 +02:00
|
|
|
error[E0597]: `c` does not live long enough
|
2017-12-13 17:27:23 -08:00
|
|
|
--> $DIR/dropck-eyepatch-extern-crate.rs:41:20
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | dr = Dr("dr", &c);
|
2017-12-13 17:27:23 -08:00
|
|
|
| ^ borrowed value does not live long enough
|
2016-10-17 18:02:23 +02:00
|
|
|
...
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | }
|
2017-12-13 17:27:23 -08:00
|
|
|
| - `c` dropped here while still borrowed
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
|
|
|
= note: values in a scope are dropped in the opposite order they are created
|
|
|
|
|
2017-05-27 19:58:52 +02:00
|
|
|
error[E0597]: `c` does not live long enough
|
2017-12-13 17:27:23 -08:00
|
|
|
--> $DIR/dropck-eyepatch-extern-crate.rs:49:29
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | pt = Pt("pt", &c_long, &c);
|
2017-12-13 17:27:23 -08:00
|
|
|
| ^ borrowed value does not live long enough
|
2016-10-17 18:02:23 +02:00
|
|
|
...
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | }
|
2017-12-13 17:27:23 -08:00
|
|
|
| - `c` dropped here while still borrowed
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
|
|
|
= note: values in a scope are dropped in the opposite order they are created
|
|
|
|
|
2017-05-27 19:58:52 +02:00
|
|
|
error[E0597]: `c` does not live long enough
|
2017-12-13 17:27:23 -08:00
|
|
|
--> $DIR/dropck-eyepatch-extern-crate.rs:51:29
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | pr = Pr("pr", &c_long, &c);
|
2017-12-13 17:27:23 -08:00
|
|
|
| ^ borrowed value does not live long enough
|
2016-10-17 18:02:23 +02:00
|
|
|
...
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | }
|
2017-12-13 17:27:23 -08:00
|
|
|
| - `c` dropped here while still borrowed
|
2016-10-17 18:02:23 +02:00
|
|
|
|
|
|
|
|
= note: values in a scope are dropped in the opposite order they are created
|
|
|
|
|
2017-07-02 13:49:30 +03:00
|
|
|
error: aborting due to 4 previous errors
|
2016-10-17 18:02:23 +02:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0597`.
|