rust/tests/ui/const-generics/issues/issue-71382.min.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
298 B
Plaintext
Raw Normal View History

2020-06-27 20:34:04 +09:00
error: using function pointers as const generic parameters is forbidden
2020-11-17 11:44:21 +01:00
--> $DIR/issue-71382.rs:16:23
2020-06-27 20:34:04 +09:00
|
LL | fn test<const FN: fn()>(&self) {
| ^^^^
|
= note: the only supported types are integers, `bool` and `char`
2020-06-27 20:34:04 +09:00
error: aborting due to 1 previous error
2020-06-27 20:34:04 +09:00