fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
330 B16 linesraw
1error: variable does not need to be mutable
2  --> $DIR/issue-61424.rs:4:9
3   |
4LL |     let mut x;
5   |         ----^
6   |         |
7   |         help: remove this `mut`
8   |
9note: lint level defined here
10  --> $DIR/issue-61424.rs:1:9
11   |
12LL | #![deny(unused_mut)]
13   |         ^^^^^^^^^^
14
15error: aborting due to previous error
16