2017-02-07 21:05:30 +01:00
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:8:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | X = 0x1_0000_0000,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-08-01 16:30:44 +02:00
|
|
|
= note: `-D clippy::enum-clike-unportable-variant` implied by `-D warnings`
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:15:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | X = 0x1_0000_0000,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:18:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | A = 0xFFFF_FFFF,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:25:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Z = 0xFFFF_FFFF,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:26:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | A = 0x1_0000_0000,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:28:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | C = (std::i32::MIN as isize) - 1,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:34:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | Z = 0xFFFF_FFFF,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2019-01-07 22:33:18 +01:00
|
|
|
--> $DIR/enums_clike.rs:35:5
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | A = 0x1_0000_0000,
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 17:06:27 +01:00
|
|
|
error: aborting due to 8 previous errors
|
|
|
|
|