]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-parameter-uppercase-lint.min.stderr
Auto merge of #79342 - CDirkx:ipaddr-const, r=oli-obk
[rust.git] / src / test / ui / const-generics / const-parameter-uppercase-lint.min.stderr
1 error: const parameter `x` should have an upper case name
2   --> $DIR/const-parameter-uppercase-lint.rs:9:15
3    |
4 LL | fn noop<const x: u32>() {
5    |               ^ help: convert the identifier to upper case (notice the capitalization): `X`
6    |
7 note: the lint level is defined here
8   --> $DIR/const-parameter-uppercase-lint.rs:7:9
9    |
10 LL | #![deny(non_upper_case_globals)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14