fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
553 B22 linesraw
1warning: the feature `const_generics` is incomplete and may cause the compiler to crash
2  --> $DIR/issue-61336-2.rs:1:12
3   |
4LL | #![feature(const_generics)]
5   |            ^^^^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error: array lengths can't depend on generic parameters
10  --> $DIR/issue-61336-2.rs:5:9
11   |
12LL |     [x; {N}]
13   |         ^^^
14
15error: array lengths can't depend on generic parameters
16  --> $DIR/issue-61336-2.rs:10:9
17   |
18LL |     [x; {N}]
19   |         ^^^
20
21error: aborting due to 2 previous errors
22