]>
Commit | Line | Data |
---|---|---|
0731742a XL |
1 | error[E0597]: `arena` does not live long enough |
2 | --> $DIR/dropck_tarena_unsound_drop.rs:41:8 | |
3 | | | |
4 | LL | f(&arena); | |
5 | | ^^^^^ borrowed value does not live long enough | |
6 | LL | } //~^ ERROR `arena` does not live long enough | |
7 | | - `arena` dropped here while still borrowed | |
8 | | | |
9 | = note: values in a scope are dropped in the opposite order they are created | |
10 | ||
11 | error: aborting due to previous error | |
12 | ||
13 | For more information about this error, try `rustc --explain E0597`. |