]> git.lizzy.rs Git - rust.git/blob - src/test/ui/enum/enum-discrim-autosizing.stderr
Auto merge of #99283 - RalfJung:miri, r=RalfJung
[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    |            - first assignment of `0`
9 LL |
10 LL |     Bu64 = 0x8000_0000_0000_0000
11    |            --------------------- second assignment of `0` (overflowed from `9223372036854775808`)
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0081`.