blob: 72d232610fc53e77606ace86e9ecb53afef452da [file]
error: unexpected `,` in pattern
--> $DIR/multiple-pattern-commas.rs:6:15
|
LL | (0, 1), (2, 3), (4, 5) => true,
| ^
|
help: try adding parentheses to match on a tuple...
|
LL | ((0, 1), (2, 3), (4, 5)) => true,
| + +
help: ...or a vertical bar to match on alternatives
|
LL - (0, 1), (2, 3), (4, 5) => true,
LL + (0, 1) | (2, 3) | (4, 5) => true,
|
error: aborting due to 1 previous error