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