fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
491 B16 linesraw
1error: expected one of `,` or `>`, found `+`
2  --> $DIR/const-expression-parameter.rs:13:22
3   |
4LL |     i32_identity::<1 + 2>();
5   |                      ^ expected one of `,` or `>`
6
7warning: the feature `const_generics` is incomplete and may cause the compiler to crash
8  --> $DIR/const-expression-parameter.rs:1:12
9   |
10LL | #![feature(const_generics)]
11   |            ^^^^^^^^^^^^^^
12   |
13   = note: `#[warn(incomplete_features)]` on by default
14
15error: aborting due to previous error
16