]>
Commit | Line | Data |
---|---|---|
48663c56 XL |
1 | error[E0597]: `z` does not live long enough |
2 | --> $DIR/issue-46471-1.rs:4:9 | |
ff7c6d11 | 3 | | |
b7449926 XL |
4 | LL | &mut z |
5 | | ^^^^^^ | |
6 | | | | |
7 | | borrowed value does not live long enough | |
8 | | borrow later used here | |
9 | LL | }; | |
10 | | - `z` dropped here while still borrowed | |
ff7c6d11 | 11 | |
48663c56 | 12 | error: aborting due to previous error |
ff7c6d11 | 13 | |
0531ce1d | 14 | For more information about this error, try `rustc --explain E0597`. |