summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-71382.full.stderr
blob: ab2a4e64a838978bade17de81988f5540df5062b (plain)
1
2
3
4
5
6
7
8
9
error[E0741]: 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

For more information about this error, try `rustc --explain E0741`.