]> git.proxmox.com Git - rustc.git/blame - src/test/ui/dropck/dropck-eyepatch-extern-crate.stderr
New upstream version 1.19.0+dfsg1
[rustc.git] / src / test / ui / dropck / dropck-eyepatch-extern-crate.stderr
CommitLineData
7cac9316 1error[E0597]: `c` does not live long enough
c30ab7b3
SL
2 --> $DIR/dropck-eyepatch-extern-crate.rs:55:1
3 |
439 | dt = Dt("dt", &c); //~ ERROR `c` does not live long enough
5 | - borrow occurs here
6...
755 | }
8 | ^ `c` dropped here while still borrowed
9 |
10 = note: values in a scope are dropped in the opposite order they are created
11
7cac9316 12error[E0597]: `c` does not live long enough
c30ab7b3
SL
13 --> $DIR/dropck-eyepatch-extern-crate.rs:55:1
14 |
1540 | dr = Dr("dr", &c); //~ ERROR `c` does not live long enough
16 | - borrow occurs here
17...
1855 | }
19 | ^ `c` dropped here while still borrowed
20 |
21 = note: values in a scope are dropped in the opposite order they are created
22
7cac9316 23error[E0597]: `c` does not live long enough
c30ab7b3
SL
24 --> $DIR/dropck-eyepatch-extern-crate.rs:55:1
25 |
2647 | pt = Pt("pt", &c_long, &c); //~ ERROR `c` does not live long enough
27 | - borrow occurs here
28...
2955 | }
30 | ^ `c` dropped here while still borrowed
31 |
32 = note: values in a scope are dropped in the opposite order they are created
33
7cac9316 34error[E0597]: `c` does not live long enough
c30ab7b3
SL
35 --> $DIR/dropck-eyepatch-extern-crate.rs:55:1
36 |
3748 | pr = Pr("pr", &c_long, &c); //~ ERROR `c` does not live long enough
38 | - borrow occurs here
39...
4055 | }
41 | ^ `c` dropped here while still borrowed
42 |
43 = note: values in a scope are dropped in the opposite order they are created
44
7cac9316 45error: aborting due to previous error(s)
c30ab7b3 46