blob: 1e764c185877b1886dd339cfaea2b7b8396799c7 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0527]: pattern requires 2 elements but array has 4
--> $DIR/E0527.rs:14:10
|
LL | &[a, b] => {
| ^^^^^^ expected 4 elements
error: aborting due to previous error
For more information about this error, try `rustc --explain E0527`.
|