summaryrefslogtreecommitdiffstats
path: root/src/test/ui/tag-variant-disr-dup.stderr
blob: 6b1ba43d2ba6e79c89051577d75200d5511c62c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0081]: discriminant value `0` assigned more than once
  --> $DIR/tag-variant-disr-dup.rs:3:1
   |
LL | enum Color {
   | ^^^^^^^^^^
...
LL |     Black = 0x000000,
   |             -------- first assignment of `0`
LL |     White = 0x000000,
   |             -------- second assignment of `0`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0081`.