blob: eee634c15644bfab28b57f843e4608a0096ee655 [file] [log] [blame]
#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
#[derive(Debug)]
struct X<const N: usize> {
a: [u32; N], //~ ERROR arrays only have std trait implementations for lengths 0..=32
}
fn main() {}