]> git.proxmox.com Git - rustc.git/blob - src/test/ui/dropck/dropck-eyepatch-reorder.stderr
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / ui / dropck / dropck-eyepatch-reorder.stderr
1 error: `c` does not live long enough
2 --> $DIR/dropck-eyepatch-reorder.rs:73:1
3 |
4 57 | dt = Dt("dt", &c); //~ ERROR `c` does not live long enough
5 | - borrow occurs here
6 ...
7 73 | }
8 | ^ `c` dropped here while still borrowed
9 |
10 = note: values in a scope are dropped in the opposite order they are created
11
12 error: `c` does not live long enough
13 --> $DIR/dropck-eyepatch-reorder.rs:73:1
14 |
15 58 | dr = Dr("dr", &c); //~ ERROR `c` does not live long enough
16 | - borrow occurs here
17 ...
18 73 | }
19 | ^ `c` dropped here while still borrowed
20 |
21 = note: values in a scope are dropped in the opposite order they are created
22
23 error: `c` does not live long enough
24 --> $DIR/dropck-eyepatch-reorder.rs:73:1
25 |
26 65 | pt = Pt("pt", &c_long, &c); //~ ERROR `c` does not live long enough
27 | - borrow occurs here
28 ...
29 73 | }
30 | ^ `c` dropped here while still borrowed
31 |
32 = note: values in a scope are dropped in the opposite order they are created
33
34 error: `c` does not live long enough
35 --> $DIR/dropck-eyepatch-reorder.rs:73:1
36 |
37 66 | pr = Pr("pr", &c_long, &c); //~ ERROR `c` does not live long enough
38 | - borrow occurs here
39 ...
40 73 | }
41 | ^ `c` dropped here while still borrowed
42 |
43 = note: values in a scope are dropped in the opposite order they are created
44
45 error: aborting due to 4 previous errors
46