mirror of https://github.com/KaiserY/trpl-zh-cn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
357 B
12 lines
357 B
$ 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
|