fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1warning: the feature `const_generics` is incomplete and may cause the compiler to crash 2 --> $DIR/match_arr_unknown_len.rs:1:12 3 | 4LL | #![feature(const_generics)] 5 | ^^^^^^^^^^^^^^ 6 | 7 = note: `#[warn(incomplete_features)]` on by default 8 9error[E0308]: mismatched types 10 --> $DIR/match_arr_unknown_len.rs:6:9 11 | 12LL | [1, 2] => true, 13 | ^^^^^^ expected `2usize`, found `N` 14 | 15 = note: expected array `[u32; 2]` 16 found array `[u32; _]` 17 18error: aborting due to previous error; 1 warning emitted 19 20For more information about this error, try `rustc --explain E0308`.