mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
339 B
Plaintext
17 lines
339 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 1 previous error
|
|
|