1 error[E0081]: discriminant value `3` assigned more than once
13 error[E0081]: discriminant value `1` assigned more than once
14 --> $DIR/E0081.rs:11:1
16 LL | enum EnumOverflowRepr {
17 | ^^^^^^^^^^^^^^^^^^^^^
20 | --- `1` (overflowed from `257`) assigned here
23 | --- `1` (overflowed from `513`) assigned here
25 error[E0081]: discriminant value `-1` assigned more than once
26 --> $DIR/E0081.rs:20:1
28 LL | enum NegDisEnum {
32 | -- `-1` assigned here
35 | ------ discriminant for `Last` incremented from this startpoint (`Second` + 1 variant later => `Last` = -1)
38 | ---- `-1` assigned here
40 error[E0081]: discriminant value `0` assigned more than once
41 --> $DIR/E0081.rs:30:1
43 LL | enum MultipleDuplicates {
44 | ^^^^^^^^^^^^^^^^^^^^^^^
47 | -- `0` assigned here
56 | -- discriminant for `V7` incremented from this startpoint (`V5` + 2 variants later => `V7` = 0)
59 | -- `0` assigned here
61 error[E0081]: discriminant value `-2` assigned more than once
62 --> $DIR/E0081.rs:30:1
64 LL | enum MultipleDuplicates {
65 | ^^^^^^^^^^^^^^^^^^^^^^^
68 | -- `-2` assigned here
71 | -- discriminant for `V9` incremented from this startpoint (`V8` + 1 variant later => `V9` = -2)
74 | -- `-2` assigned here
76 error: aborting due to 5 previous errors
78 For more information about this error, try `rustc --explain E0081`.