mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
17 lines
337 B
Plaintext
17 lines
337 B
Plaintext
error: variable does not need to be mutable
|
|
--> $DIR/issue-61424.rs:6:9
|
|
|
|
|
LL | let mut x;
|
|
| ----^
|
|
| |
|
|
| help: remove this `mut`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-61424.rs:3:9
|
|
|
|
|
LL | #![deny(unused_mut)]
|
|
| ^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|