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.

13 lines
336 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 `2`, found `N`
2020-03-30 17:34:16 +00:00
|
= note: expected array `[u32; 2]`
2020-05-09 15:10:40 +00:00
found array `[u32; N]`
2020-03-30 17:34:16 +00:00
error: aborting due to previous error
2020-03-30 17:34:16 +00:00
For more information about this error, try `rustc --explain E0308`.