3dfed10e |
1 | error: using function pointers as const generic parameters is forbidden |
5869c6ff |
2 | --> $DIR/fn-const-param-infer.rs:6:25 |
3dfed10e XL |
3 | | |
4 | LL | struct Checked<const F: fn(usize) -> bool>; |
5 | | ^^^^^^^^^^^^^^^^^ |
6 | |
7 | error: aborting due to previous error |
8 | |