1 The maximum value of an enum was reached, so it cannot be automatically
2 set in the next enum value.
4 Erroneous code example:
9 X = 0x7fffffffffffffff,
10 Y, // error: enum discriminant overflowed on value after
11 // 9223372036854775807: i64; set explicitly via
12 // Y = -9223372036854775808 if that is desired outcome
16 To fix this, please set manually the next enum value or put the enum variant
17 with the maximum value at the end of the enum. Examples:
22 X = 0x7fffffffffffffff,
33 X = 0x7fffffffffffffff,