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