mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
358 B
Plaintext
12 lines
358 B
Plaintext
error: unused variable: `x`
|
|
--> $DIR/lint-group-forbid-always-trumps-cli.rs:4:9
|
|
|
|
|
LL | let x = 1;
|
|
| ^ help: if this is intentional, prefix it with an underscore: `_x`
|
|
|
|
|
= note: `-F unused-variables` implied by `-F unused`
|
|
= help: to override `-F unused` add `#[allow(unused_variables)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|