Sign in
fuchsia
/
third_party
/
rust
/
349c9eeb355a979c2e51f832d05ce9212f0aeeba
/
.
/
src
/
test
/
ui
/
parser
/
tag-variant-disr-non-nullary.rs
blob: 83a3b727982b5401e648ab537302ba7ad03dc6a7 [
file
] [
log
] [
blame
]
enum
Color
{
Red
=
0xff0000
,
//~^ ERROR discriminator values can only be used with a field-less enum
Green
=
0x00ff00
,
Blue
=
0x0000ff
,
Black
=
0x000000
,
White
=
0xffffff
,
Other
(
usize
),
}
fn
main
()
{}