blob: 5c9387d4012db66702c092c2eb0cf8ef6607f1de (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: `NoMatch` is forbidden as the type of a const generic parameter
--> $DIR/issue-62579-no-match.rs:9:17
|
LL | fn foo<const T: NoMatch>() -> bool {
| ^^^^^^^
|
= note: the only supported types are integers, `bool` and `char`
= help: more complex types are supported with `#![feature(const_generics)]`
error: aborting due to previous error
|