rust-clippy/tests/ui/enums_clike.stderr

53 lines
1.4 KiB
Text
Raw Normal View History

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