2017-02-07 14:05:30 -06:00
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:22:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
22 | X = 0x1_0000_0000,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 09:30:44 -05:00
|
|
|
= note: `-D clippy::enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:29:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
29 | X = 0x1_0000_0000,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:32:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
32 | A = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:39:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
39 | Z = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:40:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
40 | A = 0x1_0000_0000,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:42:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
42 | C = (std::i32::MIN as isize) - 1,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:48:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
48 | Z = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-10-06 11:18:06 -05:00
|
|
|
--> $DIR/enums_clike.rs:49:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-10-06 11:18:06 -05:00
|
|
|
49 | A = 0x1_0000_0000,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 10:06:27 -06:00
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|