]>
Commit | Line | Data |
---|---|---|
1 | error[E0597]: `arena` does not live long enough | |
2 | --> $DIR/dropck-tarena-cycle-checked.rs:116:7 | |
3 | | | |
4 | LL | f(&arena); | |
5 | | ^^^^^^ borrowed value does not live long enough | |
6 | LL | } | |
7 | | - | |
8 | | | | |
9 | | `arena` dropped here while still borrowed | |
10 | | borrow might be used here, when `arena` is dropped and runs the `Drop` code for type `TypedArena` | |
11 | ||
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0597`. |