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

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

10 lines
298 B
Plaintext
Raw Normal View History

error[E0741]: 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) {
| ^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0741`.