rust/tests/ui/error-codes/E0528.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
321 B
Plaintext
Raw Normal View History

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
|
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`.