]> git.lizzy.rs Git - rust.git/blob - src/test/ui/enum/enum-discrim-autosizing.stderr
bcd362b0632a2500d58b2f8de493a000cbea721e
[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 LL | |
6 LL | |     Au64 = 0,
7    | |            - first assignment of `0`
8 LL | |
9 LL | |     Bu64 = 0x8000_0000_0000_0000
10    | |            --------------------- second assignment of `0` (overflowed from `9223372036854775808`)
11 LL | |
12 LL | | }
13    | |_^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0081`.