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