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
323 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 1 previous error
2018-02-07 21:35:35 -06:00
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0528`.