rust/src/test/ui/parser/match-vec-invalid.stderr

9 lines
282 B
Plaintext
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: expected one of `,` or `@`, found `..`
--> $DIR/match-vec-invalid.rs:4:25
2018-10-20 23:36:17 +03:00
|
LL | [1, tail.., tail..] => {}, //~ ERROR: expected one of `,` or `@`, found `..`
| ^^ expected one of `,` or `@` here
error: aborting due to previous error