1 #![feature(generic_const_exprs)]
2 #![allow(incomplete_features)]
5 impl<T> Bar<T> for [u8; T] {}
6 //~^ ERROR expected value, found type parameter `T`
8 struct Foo<const N: usize> {}
9 impl<const N: usize> Foo<N>
11 [u8; N]: Bar<[(); N]>,
18 //~^ ERROR the function or associated item