mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +00:00
11 lines
348 B
Text
11 lines
348 B
Text
error: this let-binding has unit value
|
|
--> $DIR/ice-8821.rs:7:5
|
|
|
|
|
LL | let _: () = FN();
|
|
| ^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `FN();`
|
|
|
|
|
= note: `-D clippy::let-unit-value` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::let_unit_value)]`
|
|
|
|
error: aborting due to previous error
|
|
|