fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0597]: `z` does not live long enough 2 --> $DIR/issue-46471-1.rs:4:9 3 | 4LL | let mut z = 0; 5 | ----- binding `z` declared here 6LL | &mut z 7 | ^^^^^^ borrowed value does not live long enough 8LL | }; 9 | - `z` dropped here while still borrowed 10 11error: aborting due to previous error 12 13For more information about this error, try `rustc --explain E0597`.