blob: 1ecae3b867a11df8671bfa7333b6aff40dc2aae9 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0527]: pattern requires 0 elements but array has 2
--> $DIR/issue-13482-2.rs:16:9
|
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`.
|