1 error: variable does not need to be mutable
2 --> $DIR/unused-mut-warning-captured-var.rs:6:9
7 | help: remove this `mut`
9 note: the lint level is defined here
10 --> $DIR/unused-mut-warning-captured-var.rs:3:11
12 LL | #![forbid(unused_mut)]
15 error: aborting due to previous error