1 error: expected identifier, found `<-`
2 --> $DIR/const-expression-parameter.rs:9:19
4 LL | i32_identity::<-1>();
5 | ^^ expected identifier
7 error: expected one of `,` or `>`, found `+`
8 --> $DIR/const-expression-parameter.rs:13:22
10 LL | i32_identity::<1 + 2>();
11 | ^ expected one of `,` or `>` here
13 warning: the feature `const_generics` is incomplete and may cause the compiler to crash
14 --> $DIR/const-expression-parameter.rs:1:12
16 LL | #![feature(const_generics)]
19 error: aborting due to 2 previous errors