]> git.lizzy.rs Git - rust.git/blob - src/test/ui-fulldeps/dropck-tarena-cycle-checked.stderr
Rollup merge of #59252 - lcnr:mailmap, r=Centril
[rust.git] / src / test / ui-fulldeps / dropck-tarena-cycle-checked.stderr
1 error[E0597]: `arena` does not live long enough
2   --> $DIR/dropck-tarena-cycle-checked.rs:116:8
3    |
4 LL |     f(&arena);
5    |        ^^^^^ borrowed value does not live long enough
6 LL | }
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`.