]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: C-like enum variant discriminant is not portable to 32-bit targets |
2 | --> $DIR/enum_clike_unportable_variant.rs:8:5 | |
3 | | | |
4 | LL | X = 0x1_0000_0000, | |
5 | | ^^^^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `-D clippy::enum-clike-unportable-variant` implied by `-D warnings` | |
8 | ||
9 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
10 | --> $DIR/enum_clike_unportable_variant.rs:15:5 | |
11 | | | |
12 | LL | X = 0x1_0000_0000, | |
13 | | ^^^^^^^^^^^^^^^^^ | |
14 | ||
15 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
16 | --> $DIR/enum_clike_unportable_variant.rs:18:5 | |
17 | | | |
18 | LL | A = 0xFFFF_FFFF, | |
19 | | ^^^^^^^^^^^^^^^ | |
20 | ||
21 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
22 | --> $DIR/enum_clike_unportable_variant.rs:25:5 | |
23 | | | |
24 | LL | Z = 0xFFFF_FFFF, | |
25 | | ^^^^^^^^^^^^^^^ | |
26 | ||
27 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
28 | --> $DIR/enum_clike_unportable_variant.rs:26:5 | |
29 | | | |
30 | LL | A = 0x1_0000_0000, | |
31 | | ^^^^^^^^^^^^^^^^^ | |
32 | ||
33 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
34 | --> $DIR/enum_clike_unportable_variant.rs:28:5 | |
35 | | | |
36 | LL | C = (i32::MIN as isize) - 1, | |
37 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
38 | ||
39 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
40 | --> $DIR/enum_clike_unportable_variant.rs:34:5 | |
41 | | | |
42 | LL | Z = 0xFFFF_FFFF, | |
43 | | ^^^^^^^^^^^^^^^ | |
44 | ||
45 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
46 | --> $DIR/enum_clike_unportable_variant.rs:35:5 | |
47 | | | |
48 | LL | A = 0x1_0000_0000, | |
49 | | ^^^^^^^^^^^^^^^^^ | |
50 | ||
51 | error: C-like enum variant discriminant is not portable to 32-bit targets | |
52 | --> $DIR/enum_clike_unportable_variant.rs:40:5 | |
53 | | | |
54 | LL | X = <usize as Trait>::Number, | |
55 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
56 | ||
57 | error: aborting due to 9 previous errors | |
58 |