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