1 error[E0770]: the type of const parameters must not depend on other generic parameters
2 --> $DIR/issue-71169.rs:6:43
4 LL | fn foo<const LEN: usize, const DATA: [u8; LEN]>() {}
5 | ^^^ the type must not depend on the parameter `LEN`
7 error: constant expression depends on a generic parameter
8 --> $DIR/issue-71169.rs:11:14
10 LL | foo::<4, DATA>();
13 = note: this may fail depending on what value the parameter takes
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0770`.