fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
408 B13 linesraw
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`.