1 error[E0081]: discriminant value `3` assigned more than once
8 | - first assignment of `3`
11 | - second assignment of `3`
13 error[E0081]: discriminant value `1` assigned more than once
14 --> $DIR/E0081.rs:11:1
16 LL | enum EnumOverflowRepr {
17 | ^^^^^^^^^^^^^^^^^^^^^
20 | --- first assignment of `1` (overflowed from `257`)
23 | --- second assignment of `1` (overflowed from `513`)
25 error[E0081]: discriminant value `-1` assigned more than once
26 --> $DIR/E0081.rs:20:1
28 LL | enum NegDisEnum {
32 | -- first assignment of `-1`
35 | ----------- assigned discriminant for `Last` was incremented from this discriminant
38 | ---- second assignment of `-1`
40 error: aborting due to 3 previous errors
42 For more information about this error, try `rustc --explain E0081`.