1 error[E0770]: the type of const parameters must not depend on other generic parameters
2 --> $DIR/issue-71611.rs:4:31
4 LL | fn func<A, const F: fn(inner: A)>(outer: A) {
5 | ^ the type must not depend on the parameter `A`
7 error: using function pointers as const generic parameters is forbidden
8 --> $DIR/issue-71611.rs:4:21
10 LL | fn func<A, const F: fn(inner: A)>(outer: A) {
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0770`.