summary refs log tree commit diff
path: root/src/test/ui/const-generics/issues/issue-65675.rs
blob: 3ca527313f93f9f38c3acb8a1201e83e504f1314 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
// compile-flags: -Z chalk

#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash

pub struct Foo<T, const N: usize>([T; N]);
impl<T, const N: usize> Foo<T, {N}> {}

fn main() {}