fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
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: lint level 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