blob: 5776dedf0a2cf145fc32a09a3cb32b88d4593d8a (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0527]: pattern requires 0 elements but array has 2
--> $DIR/issue-13482.rs:4:5
|
LL | [] => None, //~ ERROR pattern requires 0 elements but array has 2
| ^^ expected 2 elements
error: aborting due to previous error
For more information about this error, try `rustc --explain E0527`.
|