about summary refs log tree commit diff
path: root/src/test/ui/const-generics/issues/issue-62579-no-match.min.stderr
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