2017-02-07 14:05:30 -06:00
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:17:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
17 | 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-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:24:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
24 | 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-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:27:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
27 | A = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:34:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
34 | Z = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:35:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
35 | 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-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:37:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
37 | 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-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:43:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
43 | Z = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2018-12-09 23:27:19 -06:00
|
|
|
--> $DIR/enums_clike.rs:44:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-09 23:27:19 -06:00
|
|
|
44 | 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
|
|
|
|
|