rust-clippy/tests/ui/no_effect_async_fn.stderr

30 lines
830 B
Text
Raw Normal View History

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