summary refs log tree commit diff
path: root/src/test/ui/const-generics/broken-mir-2.rs
blob: c2f9b786f8f898f4a830fd928993d8992d5b4605 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete

use std::fmt::Debug;

#[derive(Debug)]
struct S<T: Debug, const N: usize>([T; N]);
//~^ ERROR arrays only have std trait implementations for lengths 0..=32

fn main() {}