Files
rust/tests/ui/pattern/array-length-mismatch-13482.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
272 B
Plaintext
Raw Normal View History

2018-07-15 14:11:54 -07:00
error[E0527]: pattern requires 0 elements but array has 2
2025-07-24 17:52:22 +05:00
--> $DIR/array-length-mismatch-13482.rs:6:5
2018-07-15 14:11:54 -07:00
|
2019-03-09 15:03:44 +03:00
LL | [] => None,
2018-07-15 14:11:54 -07:00
| ^^ expected 2 elements
error: aborting due to 1 previous error
2018-07-15 14:11:54 -07:00
For more information about this error, try `rustc --explain E0527`.