]> git.proxmox.com Git - rustc.git/blob - src/test/ui/nll/issue-54382-use-span-of-tail-of-block.stderr
New upstream version 1.32.0~beta.2+dfsg1
[rustc.git] / src / test / ui / nll / issue-54382-use-span-of-tail-of-block.stderr
1 error[E0597]: `_thing1` does not live long enough
2 --> $DIR/issue-54382-use-span-of-tail-of-block.rs:7:30
3 |
4 LL | D("other").next(&_thing1)
5 | ^^^^^^^ borrowed value does not live long enough
6 ...
7 LL | }
8 | - `_thing1` dropped here while still borrowed
9 LL |
10 LL | ;
11 | - borrowed value needs to live until here
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0597`.