6afd7ea147
- moving infaillible lint to prevent collisions
22 lines
506 B
Plaintext
22 lines
506 B
Plaintext
error: this match could be written as a `let` statement
|
|
--> $DIR/match_single_binding.rs:11:5
|
|
|
|
|
LL | / match (a, b, c) {
|
|
LL | | (x, y, z) => {
|
|
LL | | println!("{} {} {}", x, y, z);
|
|
LL | | },
|
|
LL | | }
|
|
| |_____^
|
|
|
|
|
= note: `-D clippy::match-single-binding` implied by `-D warnings`
|
|
help: consider using `let` statement
|
|
|
|
|
LL | let (x, y, z) = (a, b, c);
|
|
LL | {
|
|
LL | println!("{} {} {}", x, y, z);
|
|
LL | }
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|