15 lines
413 B
Plaintext
15 lines
413 B
Plaintext
|
error: this match could be written as a `let` statement
|
||
|
--> $DIR/match_single_binding.rs:9:5
|
||
|
|
|
||
|
LL | / match (a, b, c) {
|
||
|
LL | | (x, y, z) => {
|
||
|
LL | | println!("{} {} {}", x, y, z);
|
||
|
LL | | },
|
||
|
LL | | }
|
||
|
| |_____^ help: try this: `let (x, y, z) = (a, b, c);`
|
||
|
|
|
||
|
= note: `-D clippy::match-single-binding` implied by `-D warnings`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|