]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/const-parameter-uppercase-lint.rs
3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
6 #![deny(non_upper_case_globals)]
8 fn noop
<const x
: u32>() {
9 //~^ ERROR const parameter `x` should have an upper case name