mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
29 lines
830 B
Text
29 lines
830 B
Text
error: binding to `_` prefixed variable with no side-effect
|
|
--> tests/ui/no_effect_async_fn.rs:20:17
|
|
|
|
|
LL | let _c = 0;
|
|
| ^^
|
|
|
|
|
= note: `-D clippy::no-effect-underscore-binding` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::no_effect_underscore_binding)]`
|
|
|
|
error: binding to `_` prefixed variable with no side-effect
|
|
--> tests/ui/no_effect_async_fn.rs:13:13
|
|
|
|
|
LL | let _a = 0;
|
|
| ^^
|
|
|
|
error: binding to `_` prefixed variable with no side-effect
|
|
--> tests/ui/no_effect_async_fn.rs:39:13
|
|
|
|
|
LL | let _c = 0;
|
|
| ^^
|
|
|
|
error: binding to `_` prefixed variable with no side-effect
|
|
--> tests/ui/no_effect_async_fn.rs:32:9
|
|
|
|
|
LL | let _a = 0;
|
|
| ^^
|
|
|
|
error: aborting due to 4 previous errors
|
|
|