]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0370]: enum discriminant overflowed |
fc512014 | 2 | --> $DIR/discrim-overflow-2.rs:13:9 |
ff7c6d11 | 3 | | |
532ac7d7 | 4 | LL | OhNo, |
0531ce1d | 5 | | ^^^^ overflowed on value after 127 |
ff7c6d11 | 6 | | |
0531ce1d | 7 | = note: explicitly set `OhNo = -128` if that is desired outcome |
ff7c6d11 XL |
8 | |
9 | error[E0370]: enum discriminant overflowed | |
fc512014 | 10 | --> $DIR/discrim-overflow-2.rs:22:9 |
ff7c6d11 | 11 | | |
532ac7d7 | 12 | LL | OhNo, |
0531ce1d | 13 | | ^^^^ overflowed on value after 255 |
ff7c6d11 | 14 | | |
0531ce1d | 15 | = note: explicitly set `OhNo = 0` if that is desired outcome |
ff7c6d11 XL |
16 | |
17 | error[E0370]: enum discriminant overflowed | |
fc512014 | 18 | --> $DIR/discrim-overflow-2.rs:31:9 |
ff7c6d11 | 19 | | |
532ac7d7 | 20 | LL | OhNo, |
0531ce1d | 21 | | ^^^^ overflowed on value after 32767 |
ff7c6d11 | 22 | | |
0531ce1d | 23 | = note: explicitly set `OhNo = -32768` if that is desired outcome |
ff7c6d11 XL |
24 | |
25 | error[E0370]: enum discriminant overflowed | |
fc512014 | 26 | --> $DIR/discrim-overflow-2.rs:40:9 |
ff7c6d11 | 27 | | |
532ac7d7 | 28 | LL | OhNo, |
0531ce1d | 29 | | ^^^^ overflowed on value after 65535 |
ff7c6d11 | 30 | | |
0531ce1d | 31 | = note: explicitly set `OhNo = 0` if that is desired outcome |
ff7c6d11 XL |
32 | |
33 | error[E0370]: enum discriminant overflowed | |
fc512014 | 34 | --> $DIR/discrim-overflow-2.rs:49:9 |
ff7c6d11 | 35 | | |
532ac7d7 | 36 | LL | OhNo, |
0531ce1d | 37 | | ^^^^ overflowed on value after 2147483647 |
ff7c6d11 | 38 | | |
0531ce1d | 39 | = note: explicitly set `OhNo = -2147483648` if that is desired outcome |
ff7c6d11 XL |
40 | |
41 | error[E0370]: enum discriminant overflowed | |
fc512014 | 42 | --> $DIR/discrim-overflow-2.rs:58:9 |
ff7c6d11 | 43 | | |
532ac7d7 | 44 | LL | OhNo, |
0531ce1d | 45 | | ^^^^ overflowed on value after 4294967295 |
ff7c6d11 | 46 | | |
0531ce1d | 47 | = note: explicitly set `OhNo = 0` if that is desired outcome |
ff7c6d11 XL |
48 | |
49 | error[E0370]: enum discriminant overflowed | |
fc512014 | 50 | --> $DIR/discrim-overflow-2.rs:67:9 |
ff7c6d11 | 51 | | |
532ac7d7 | 52 | LL | OhNo, |
0531ce1d | 53 | | ^^^^ overflowed on value after 9223372036854775807 |
ff7c6d11 | 54 | | |
0531ce1d | 55 | = note: explicitly set `OhNo = -9223372036854775808` if that is desired outcome |
ff7c6d11 XL |
56 | |
57 | error[E0370]: enum discriminant overflowed | |
fc512014 | 58 | --> $DIR/discrim-overflow-2.rs:76:9 |
ff7c6d11 | 59 | | |
532ac7d7 | 60 | LL | OhNo, |
0531ce1d | 61 | | ^^^^ overflowed on value after 18446744073709551615 |
ff7c6d11 | 62 | | |
0531ce1d | 63 | = note: explicitly set `OhNo = 0` if that is desired outcome |
ff7c6d11 XL |
64 | |
65 | error: aborting due to 8 previous errors | |
66 | ||
0531ce1d | 67 | For more information about this error, try `rustc --explain E0370`. |