Rename C-like enum to Field-less enum
There is no need to reference the C programming language to explain this concept.
This commit is contained in:
parent
1dc0b573e7
commit
cf14b1760f
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// compile-flags: -Z parse-only
|
||||
|
||||
//error-pattern: discriminator values can only be used with a c-like enum
|
||||
//error-pattern: discriminator values can only be used with a field-less enum
|
||||
|
||||
enum color {
|
||||
red = 0xff0000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue