blob: c6d8b32f276f31930a8f6ca7e9443c19cd5cb518 (
plain)
1
2
3
4
5
6
7
8
9
|
#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete
#[derive(Debug)]
struct X<const N: usize> {
a: [u32; N], //~ ERROR arrays only have std trait implementations for lengths 0..=32
}
fn main() {}
|