mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
339 B
Text
16 lines
339 B
Text
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 1 previous error
|
|
|