1 warning: the feature `const_generics` is incomplete and may cause the compiler to crash
2 --> $DIR/const-parameter-uppercase-lint.rs:1:12
4 LL | #![feature(const_generics)]
7 = note: `#[warn(incomplete_features)]` on by default
9 error: const parameter `x` should have an upper case name
10 --> $DIR/const-parameter-uppercase-lint.rs:6:15
12 LL | fn noop<const x: u32>() {
13 | ^ help: convert the identifier to upper case (notice the capitalization): `X`
15 note: the lint level is defined here
16 --> $DIR/const-parameter-uppercase-lint.rs:4:9
18 LL | #![deny(non_upper_case_globals)]
19 | ^^^^^^^^^^^^^^^^^^^^^^
21 error: aborting due to previous error; 1 warning emitted