blob: af5e8f49754e819ee8cb97fbe554ae156e80c2aa [file] [log] [blame]
use std::marker::PhantomData;
struct B<T, const N: T>(PhantomData<[T; N]>); //~ ERROR const generics are unstable
//~^ ERROR const parameters cannot depend on type parameters
fn main() {}