2017-02-07 20:05:30 +00:00
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:10:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
10 | X = 0x1_0000_0000,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:17:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
17 | X = 0x1_0000_0000,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:20:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
20 | A = 0xFFFF_FFFF,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:27:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
27 | Z = 0xFFFF_FFFF,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:28:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
28 | A = 0x1_0000_0000,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:30:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
30 | C = (std::i32::MIN as isize) - 1,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:36:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
36 | Z = 0xFFFF_FFFF,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/enums_clike.rs:37:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
37 | A = 0x1_0000_0000,
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|