fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
539 B18 linesraw
1warning: the feature `const_generics` is incomplete and may cause the compiler to crash
2  --> $DIR/issue-62456.rs:1:12
3   |
4LL | #![feature(const_generics)]
5   |            ^^^^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error: constant expression depends on a generic parameter
10  --> $DIR/issue-62456.rs:5:20
11   |
12LL |     let _ = [0u64; N + 1];
13   |                    ^^^^^
14   |
15   = note: this may fail depending on what value the parameter takes
16
17error: aborting due to previous error; 1 warning emitted
18