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