mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +00:00
30 lines
830 B
Text
30 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
|
||
|
|