]> git.proxmox.com Git - rustc.git/blame - src/test/ui/span/issue28498-reject-trait-bound.stderr
New upstream version 1.20.0+dfsg1
[rustc.git] / src / test / ui / span / issue28498-reject-trait-bound.stderr
CommitLineData
7cac9316 1error[E0597]: `last_dropped` does not live long enough
c30ab7b3
SL
2 --> $DIR/issue28498-reject-trait-bound.rs:48:1
3 |
444 | foo0 = Foo(0, &last_dropped);
5 | ------------ borrow occurs here
6...
748 | }
8 | ^ `last_dropped` 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]: `first_dropped` does not live long enough
c30ab7b3
SL
13 --> $DIR/issue28498-reject-trait-bound.rs:48:1
14 |
1545 | foo1 = Foo(1, &first_dropped);
16 | ------------- borrow occurs here
17...
1848 | }
19 | ^ `first_dropped` dropped here while still borrowed
20 |
21 = note: values in a scope are dropped in the opposite order they are created
22
041b39d2 23error: aborting due to 2 previous errors
c30ab7b3 24