rust/tests/ui/array-slice-vec/match_arr_unknown_len.stderr

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

10 lines
298 B
Plaintext
Raw Normal View History

2020-03-30 17:34:16 +00:00
error[E0308]: mismatched types
--> $DIR/match_arr_unknown_len.rs:3:9
2020-03-30 17:34:16 +00:00
|
LL | [1, 2] => true,
| ^^^^^^ expected an array with a size of 2, found one with a size of N
2020-03-30 17:34:16 +00:00
error: aborting due to 1 previous error
2020-03-30 17:34:16 +00:00
For more information about this error, try `rustc --explain E0308`.