blob: b9bd6666af39d06bde3500d52675776e553bbf16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// revisions: full min
#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]
#![cfg_attr(min, feature(min_const_generics))]
#![deny(non_upper_case_globals)]
fn noop<const x: u32>() {
//~^ ERROR const parameter `x` should have an upper case name
}
fn main() {}
|