error: using function pointers as const generic parameters is forbidden --> $DIR/issue-71382.rs:16:23 | LL | fn test(&self) { | ^^^^ | = note: the only supported types are integers, `bool` and `char` error: aborting due to previous error