1b1a35ee |
1 | error: using function pointers as const generic parameters is forbidden |
5869c6ff |
2 | --> $DIR/issue-71382.rs:16:23 |
1b1a35ee XL |
3 | | |
4 | LL | fn test<const FN: fn() -> u8>(&self) -> u8 { |
5 | | ^^^^^^^^^^ |
6 | |
7 | error: aborting due to previous error |
8 | |