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