blob: 7e0357eac2d7be480b7694e0b31605d4b4a72565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
$ cargo run
Compiling patterns v0.1.0 (file:///projects/patterns)
error: `..` can only be used once per tuple pattern
--> src/main.rs:5:22
|
5 | (.., second, ..) => {
| -- ^^ can only be used once per tuple pattern
| |
| previously used here
error: could not compile `patterns` due to previous error
|