1 error[E0741]: using function pointers as const generic parameters is forbidden
2 --> $DIR/fn-const-param-call.rs:11:25
4 LL | struct Wrapper<const F: fn() -> u32>;
7 error[E0741]: using function pointers as const generic parameters is forbidden
8 --> $DIR/fn-const-param-call.rs:13:15
10 LL | impl<const F: fn() -> u32> Wrapper<F> {
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0741`.