fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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