rust/tests/ui/enum/enum-discrim-autosizing.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
447 B
Plaintext
Raw Normal View History

error[E0081]: discriminant value `0` assigned more than once
--> $DIR/enum-discrim-autosizing.rs:6:1
2018-08-08 07:28:26 -05:00
|
2022-07-07 20:50:10 -05:00
LL | enum Eu64 {
| ^^^^^^^^^
LL |
LL | Au64 = 0,
| - `0` assigned here
2022-07-07 20:50:10 -05:00
LL |
LL | Bu64 = 0x8000_0000_0000_0000
| --------------------- `0` (overflowed from `9223372036854775808`) assigned here
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
2018-08-08 07:28:26 -05:00
For more information about this error, try `rustc --explain E0081`.