about summary refs log tree commit diff
path: root/src/test/ui/const-generics/derive-debug-array-wrapper.rs
blob: 36272ae86199d68808dd29390d2bf95e7e786ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass

#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete

#[derive(Debug)]
struct X<const N: usize> {
    a: [u32; N],
}

fn main() {}