1 error[E0770]: the type of const parameters must not depend on other generic parameters
2 --> $DIR/const-param-type-depends-on-type-param-ungated.rs:3:22
4 LL | struct B<T, const N: T>(PhantomData<[T; N]>);
5 | ^ the type must not depend on the parameter `T`
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0770`.