2022-05-27 13:42:15 +00:00
|
|
|
error[E0081]: discriminant value `0` assigned more than once
|
|
|
|
--> $DIR/enum-discrim-autosizing.rs:6:1
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2022-07-08 01:50:10 +00:00
|
|
|
LL | enum Eu64 {
|
|
|
|
| ^^^^^^^^^
|
|
|
|
LL |
|
|
|
|
LL | Au64 = 0,
|
2022-08-07 15:24:25 +00:00
|
|
|
| - `0` assigned here
|
2022-07-08 01:50:10 +00:00
|
|
|
LL |
|
|
|
|
LL | Bu64 = 0x8000_0000_0000_0000
|
2022-08-07 15:24:25 +00:00
|
|
|
| --------------------- `0` (overflowed from `9223372036854775808`) assigned here
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2018-08-22 23:19:38 +00:00
|
|
|
For more information about this error, try `rustc --explain E0081`.
|