|
1 | 1 | error[E0370]: enum discriminant overflowed
|
2 |
| - --> $DIR/discrim-overflow-2.rs:17:9 |
| 2 | + --> $DIR/discrim-overflow-2.rs:15:9 |
3 | 3 | |
|
4 | 4 | LL | OhNo,
|
5 | 5 | | ^^^^ overflowed on value after 127
|
6 | 6 | |
|
7 | 7 | = note: explicitly set `OhNo = -128` if that is desired outcome
|
8 | 8 |
|
9 | 9 | error[E0370]: enum discriminant overflowed
|
10 |
| - --> $DIR/discrim-overflow-2.rs:26:9 |
| 10 | + --> $DIR/discrim-overflow-2.rs:24:9 |
11 | 11 | |
|
12 | 12 | LL | OhNo,
|
13 | 13 | | ^^^^ overflowed on value after 255
|
14 | 14 | |
|
15 | 15 | = note: explicitly set `OhNo = 0` if that is desired outcome
|
16 | 16 |
|
17 | 17 | error[E0370]: enum discriminant overflowed
|
18 |
| - --> $DIR/discrim-overflow-2.rs:35:9 |
| 18 | + --> $DIR/discrim-overflow-2.rs:33:9 |
19 | 19 | |
|
20 | 20 | LL | OhNo,
|
21 | 21 | | ^^^^ overflowed on value after 32767
|
22 | 22 | |
|
23 | 23 | = note: explicitly set `OhNo = -32768` if that is desired outcome
|
24 | 24 |
|
25 | 25 | error[E0370]: enum discriminant overflowed
|
26 |
| - --> $DIR/discrim-overflow-2.rs:44:9 |
| 26 | + --> $DIR/discrim-overflow-2.rs:42:9 |
27 | 27 | |
|
28 | 28 | LL | OhNo,
|
29 | 29 | | ^^^^ overflowed on value after 65535
|
30 | 30 | |
|
31 | 31 | = note: explicitly set `OhNo = 0` if that is desired outcome
|
32 | 32 |
|
33 | 33 | error[E0370]: enum discriminant overflowed
|
34 |
| - --> $DIR/discrim-overflow-2.rs:53:9 |
| 34 | + --> $DIR/discrim-overflow-2.rs:51:9 |
35 | 35 | |
|
36 | 36 | LL | OhNo,
|
37 | 37 | | ^^^^ overflowed on value after 2147483647
|
38 | 38 | |
|
39 | 39 | = note: explicitly set `OhNo = -2147483648` if that is desired outcome
|
40 | 40 |
|
41 | 41 | error[E0370]: enum discriminant overflowed
|
42 |
| - --> $DIR/discrim-overflow-2.rs:62:9 |
| 42 | + --> $DIR/discrim-overflow-2.rs:60:9 |
43 | 43 | |
|
44 | 44 | LL | OhNo,
|
45 | 45 | | ^^^^ overflowed on value after 4294967295
|
46 | 46 | |
|
47 | 47 | = note: explicitly set `OhNo = 0` if that is desired outcome
|
48 | 48 |
|
49 | 49 | error[E0370]: enum discriminant overflowed
|
50 |
| - --> $DIR/discrim-overflow-2.rs:71:9 |
| 50 | + --> $DIR/discrim-overflow-2.rs:69:9 |
51 | 51 | |
|
52 | 52 | LL | OhNo,
|
53 | 53 | | ^^^^ overflowed on value after 9223372036854775807
|
54 | 54 | |
|
55 | 55 | = note: explicitly set `OhNo = -9223372036854775808` if that is desired outcome
|
56 | 56 |
|
57 | 57 | error[E0370]: enum discriminant overflowed
|
58 |
| - --> $DIR/discrim-overflow-2.rs:80:9 |
| 58 | + --> $DIR/discrim-overflow-2.rs:78:9 |
59 | 59 | |
|
60 | 60 | LL | OhNo,
|
61 | 61 | | ^^^^ overflowed on value after 18446744073709551615
|
|
0 commit comments