1 error[E0741]: using function pointers as const generic parameters is forbidden
2 --> $DIR/issue-99641.rs:5:35
4 LL | pub struct Color<const WHITE: (fn(),)>;
7 error[E0741]: using function pointers as const generic parameters is forbidden
8 --> $DIR/issue-99641.rs:8:23
10 LL | impl<const WHITE: (fn(),)> Color<WHITE> {
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0741`.