2018-10-20 23:36:17 +03:00
|
|
|
error: expected one of `,` or `@`, found `..`
|
2019-01-06 18:33:05 +03:00
|
|
|
--> $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
|
|
|
|
|