]> git.lizzy.rs Git - rust.git/blob - tests/ui/array-slice-vec/match_arr_unknown_len.stderr
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
[rust.git] / tests / ui / array-slice-vec / match_arr_unknown_len.stderr
1 error[E0308]: mismatched types
2   --> $DIR/match_arr_unknown_len.rs:3:9
3    |
4 LL |         [1, 2] => true,
5    |         ^^^^^^ expected `2`, found `N`
6    |
7    = note: expected array `[u32; 2]`
8               found array `[u32; N]`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.