]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/unused/unused-mut-warning-captured-var.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / lint / unused / unused-mut-warning-captured-var.stderr
CommitLineData
b7449926 1error: variable does not need to be mutable
f035d41b 2 --> $DIR/unused-mut-warning-captured-var.rs:6:9
b7449926
XL
3 |
4LL | let mut x = 1;
5 | ----^
6 | |
7 | help: remove this `mut`
8 |
74b04a01 9note: the lint level is defined here
f035d41b 10 --> $DIR/unused-mut-warning-captured-var.rs:3:11
b7449926
XL
11 |
12LL | #![forbid(unused_mut)]
13 | ^^^^^^^^^^
14
15error: aborting due to previous error
16