summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/fn-const-param-infer.min.stderr
blob: f0767a10994a547bccfefb8904e15464e1bb2ba2 (plain)
1
2
3
4
5
6
7
8
error: using function pointers as const generic parameters is forbidden
  --> $DIR/fn-const-param-infer.rs:6:25
   |
LL | struct Checked<const F: fn(usize) -> bool>;
   |                         ^^^^^^^^^^^^^^^^^

error: aborting due to previous error