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

10 lines
298 B
Plaintext
Raw Normal View History

error[E0741]: using function pointers as const generic parameters is forbidden
2020-11-17 04:44:21 -06:00
--> $DIR/issue-71382.rs:16:23
2020-06-27 06:34:04 -05:00
|
LL | fn test<const FN: fn()>(&self) {
| ^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0741`.