]> git.lizzy.rs Git - rust.git/blob - src/test/ui/enum/enum-discrim-autosizing.stderr
Rollup merge of #100030 - WaffleLapkin:nice_pointer_sis, r=scottmcm
[rust.git] / src / test / ui / enum / enum-discrim-autosizing.stderr
1 error[E0081]: discriminant value `0` assigned more than once
2   --> $DIR/enum-discrim-autosizing.rs:6:1
3    |
4 LL | enum Eu64 {
5    | ^^^^^^^^^
6 LL |
7 LL |     Au64 = 0,
8    |            - `0` assigned here
9 LL |
10 LL |     Bu64 = 0x8000_0000_0000_0000
11    |            --------------------- `0` (overflowed from `9223372036854775808`) assigned here
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0081`.