mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
449 B
Plaintext
16 lines
449 B
Plaintext
error[E0081]: discriminant value `0` assigned more than once
|
|
--> $DIR/enum-discrim-autosizing.rs:6:1
|
|
|
|
|
LL | enum Eu64 {
|
|
| ^^^^^^^^^
|
|
LL |
|
|
LL | Au64 = 0,
|
|
| - `0` assigned here
|
|
LL |
|
|
LL | Bu64 = 0x8000_0000_0000_0000
|
|
| --------------------- `0` (overflowed from `9223372036854775808`) assigned here
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0081`.
|