]> git.proxmox.com Git - rustc.git/blame - src/test/ui-fulldeps/dropck-tarena-unsound-drop.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui-fulldeps / dropck-tarena-unsound-drop.stderr
CommitLineData
0731742a 1error[E0597]: `arena` does not live long enough
48663c56 2 --> $DIR/dropck-tarena-unsound-drop.rs:41:7
0731742a
XL
3 |
4LL | f(&arena);
48663c56 5 | ^^^^^^ borrowed value does not live long enough
532ac7d7 6LL | }
48663c56
XL
7 | -
8 | |
9 | `arena` dropped here while still borrowed
1b1a35ee 10 | borrow might be used here, when `arena` is dropped and runs the `Drop` code for type `TypedArena`
0731742a
XL
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0597`.