]>
Commit | Line | Data |
---|---|---|
0731742a | 1 | error[E0597]: `arena` does not live long enough |
48663c56 | 2 | --> $DIR/dropck-tarena-unsound-drop.rs:41:7 |
0731742a XL |
3 | | |
4 | LL | f(&arena); | |
48663c56 | 5 | | ^^^^^^ borrowed value does not live long enough |
532ac7d7 | 6 | LL | } |
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 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0597`. |