2017-02-07 14:05:30 -06:00
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:8:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | 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
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:15:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | X = 0x1_0000_0000,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:18:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | A = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:25:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | Z = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:26:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | A = 0x1_0000_0000,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:28:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2020-04-07 17:04:33 -05:00
|
|
|
LL | C = (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
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:34:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | Z = 0xFFFF_FFFF,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
2020-01-29 20:43:19 -06:00
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:35:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2018-12-27 09:57:55 -06:00
|
|
|
LL | A = 0x1_0000_0000,
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-01-29 20:43:19 -06:00
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
|
|
--> $DIR/enum_clike_unportable_variant.rs:40:5
|
|
|
|
|
|
|
|
|
LL | X = <usize as Trait>::Number,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 9 previous errors
|
2018-01-16 10:06:27 -06:00
|
|
|
|