2018-02-07 19:35:35 -08:00
|
|
|
error[E0528]: pattern requires at least 3 elements but array has 2
|
2019-12-30 01:23:42 +01:00
|
|
|
--> $DIR/E0528.rs:4:10
|
2018-02-07 19:35:35 -08:00
|
|
|
|
|
2019-07-08 01:58:28 +02:00
|
|
|
LL | &[a, b, c, rest @ ..] => {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ pattern cannot match array of 2 elements
|
2018-02-07 19:35:35 -08:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0528`.
|