2019-06-03 10:11:15 +08:00
|
|
|
error: variable does not need to be mutable
|
2020-07-02 13:32:12 +08:00
|
|
|
--> $DIR/issue-61424.rs:6:9
|
2019-06-03 10:11:15 +08:00
|
|
|
|
|
|
|
|
LL | let mut x;
|
|
|
|
| ----^
|
|
|
|
| |
|
|
|
|
| help: remove this `mut`
|
|
|
|
|
|
2020-01-23 07:57:38 +08:00
|
|
|
note: the lint level is defined here
|
2020-07-02 13:32:12 +08:00
|
|
|
--> $DIR/issue-61424.rs:3:9
|
2019-06-03 10:11:15 +08:00
|
|
|
|
|
|
|
|
LL | #![deny(unused_mut)]
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
2023-11-21 23:44:16 +08:00
|
|
|
error: aborting due to 1 previous error
|
2019-06-03 10:11:15 +08:00
|
|
|
|