]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-71169.full.stderr
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / const-generics / issues / issue-71169.full.stderr
1 error[E0770]: the type of const parameters must not depend on other generic parameters
2   --> $DIR/issue-71169.rs:5:43
3    |
4 LL | fn foo<const LEN: usize, const DATA: [u8; LEN]>() {}
5    |                                           ^^^ the type must not depend on the parameter `LEN`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0770`.