]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/type-dependent/issue-71382.min.stderr
Auto merge of #80267 - 0urobor0s:ouro/61592, r=jyn514
[rust.git] / src / test / ui / const-generics / type-dependent / issue-71382.min.stderr
1 error: using function pointers as const generic parameters is forbidden
2   --> $DIR/issue-71382.rs:16:23
3    |
4 LL |     fn test<const FN: fn() -> u8>(&self) -> u8 {
5    |                       ^^^^^^^^^^
6
7 error: aborting due to previous error
8