]> git.proxmox.com Git - rustc.git/blob - src/test/ui/dropck/dropck-eyepatch.stderr
New upstream version 1.20.0+dfsg1
[rustc.git] / src / test / ui / dropck / dropck-eyepatch.stderr
1 error[E0597]: `c` does not live long enough
2 --> $DIR/dropck-eyepatch.rs:96:1
3 |
4 80 | dt = Dt("dt", &c); //~ ERROR `c` does not live long enough
5 | - borrow occurs here
6 ...
7 96 | }
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[E0597]: `c` does not live long enough
13 --> $DIR/dropck-eyepatch.rs:96:1
14 |
15 81 | dr = Dr("dr", &c); //~ ERROR `c` does not live long enough
16 | - borrow occurs here
17 ...
18 96 | }
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[E0597]: `c` does not live long enough
24 --> $DIR/dropck-eyepatch.rs:96:1
25 |
26 88 | pt = Pt("pt", &c_long, &c); //~ ERROR `c` does not live long enough
27 | - borrow occurs here
28 ...
29 96 | }
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[E0597]: `c` does not live long enough
35 --> $DIR/dropck-eyepatch.rs:96:1
36 |
37 89 | pr = Pr("pr", &c_long, &c); //~ ERROR `c` does not live long enough
38 | - borrow occurs here
39 ...
40 96 | }
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