1 error[E0770]: the type of const parameters must not depend on other generic parameters
2 --> $DIR/issue-62878.rs:6:38
4 LL | fn foo<const N: usize, const A: [u8; N]>() {}
5 | ^ the type must not depend on the parameter `N`
7 error: `[u8; _]` is forbidden as the type of a const generic parameter
8 --> $DIR/issue-62878.rs:6:33
10 LL | fn foo<const N: usize, const A: [u8; N]>() {}
13 = note: the only supported types are integers, `bool` and `char`
14 = note: more complex types are supported with `#[feature(const_generics)]`
16 error: aborting due to 2 previous errors
18 For more information about this error, try `rustc --explain E0770`.