blob: 78bd549ba791a456739aa62a60d2462aa4d8082f [file] [log] [blame]
use std::marker::PhantomData;
struct B<T, const N: T>(PhantomData<[T; N]>); //~ ERROR const generics are unstable
//~^ ERROR the types of const generic parameters must derive `PartialEq` and `Eq`
fn main() {}