]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tag-variant-disr-dup.stderr
Rollup merge of #89685 - DeveloperC286:iter_fields_to_private, r=oli-obk
[rust.git] / src / test / ui / tag-variant-disr-dup.stderr
1 error[E0081]: discriminant value `0` assigned more than once
2   --> $DIR/tag-variant-disr-dup.rs:3:1
3    |
4 LL | / enum Color {
5 LL | |
6 LL | |     Red = 0xff0000,
7 LL | |     Green = 0x00ff00,
8 LL | |     Blue = 0x0000ff,
9 LL | |     Black = 0x000000,
10    | |             -------- first assignment of `0`
11 LL | |     White = 0x000000,
12    | |             -------- second assignment of `0`
13 LL | | }
14    | |_^
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0081`.