mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
8 lines
142 B
Rust
8 lines
142 B
Rust
#![deny(non_upper_case_globals)]
|
|
|
|
fn noop<const x: u32>() {
|
|
//~^ ERROR const parameter `x` should have an upper case name
|
|
}
|
|
|
|
fn main() {}
|