summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/issues/issue-71382.min.stderr
blob: 715037bd5f1e86e94f44ea67c3b79a72869e8686 (plain)
1
2
3
4
5
6
7
8
error: using function pointers as const generic parameters is forbidden
  --> $DIR/issue-71382.rs:16:23
   |
LL |     fn test<const FN: fn()>(&self) {
   |                       ^^^^

error: aborting due to previous error