Sign in
fuchsia
/
third_party
/
rust
/
f22bb2e72267890782897c208bbc9114d023dfc7
/
.
/
src
/
test
/
ui
/
tag-variant-disr-dup.rs
blob: d2a38e003eabe1ff5f2d1041f90279a558d78184 [
file
] [
log
] [
blame
]
// Black and White have the same discriminator value ...
enum
Color
{
Red
=
0xff0000
,
Green
=
0x00ff00
,
Blue
=
0x0000ff
,
Black
=
0x000000
,
White
=
0x000000
,
//~ ERROR discriminant value `0` already exists
}
fn
main
()
{
}