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