fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
506 B17 linesraw
1warning: the feature `const_generics` is incomplete and may cause the compiler to crash
2  --> $DIR/E0730.rs:1:12
3   |
4LL | #![feature(const_generics)]
5   |            ^^^^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error[E0730]: cannot pattern-match on an array without a fixed length
10  --> $DIR/E0730.rs:6:9
11   |
12LL |         [1, 2, 3] => true,
13   |         ^^^^^^^^^
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0730`.