1 warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/const-parameter-uppercase-lint.rs:1:12
4 LL | #![feature(const_generics)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
10 error: const parameter `x` should have an upper case name
11 --> $DIR/const-parameter-uppercase-lint.rs:6:15
13 LL | fn noop<const x: u32>() {
14 | ^ help: convert the identifier to upper case (notice the capitalization): `X`
16 note: the lint level is defined here
17 --> $DIR/const-parameter-uppercase-lint.rs:4:9
19 LL | #![deny(non_upper_case_globals)]
20 | ^^^^^^^^^^^^^^^^^^^^^^
22 error: aborting due to previous error; 1 warning emitted