mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-30 06:53:27 +00:00
6b6253016f
rustc now (https://github.com/rust-lang/rust/issues/33525) does not report an error count anymore, because it was not correct in many cases.
69 lines
2 KiB
Text
69 lines
2 KiB
Text
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:10:5
|
|
|
|
|
10 | X = 0x1_0000_0000,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:17:5
|
|
|
|
|
17 | X = 0x1_0000_0000,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:20:5
|
|
|
|
|
20 | A = 0xFFFF_FFFF,
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:27:5
|
|
|
|
|
27 | Z = 0xFFFF_FFFF,
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:28:5
|
|
|
|
|
28 | A = 0x1_0000_0000,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:30:5
|
|
|
|
|
30 | C = (std::i32::MIN as isize) - 1,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:36:5
|
|
|
|
|
36 | Z = 0xFFFF_FFFF,
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: Clike enum variant discriminant is not portable to 32-bit targets
|
|
--> enums_clike.rs:37:5
|
|
|
|
|
37 | A = 0x1_0000_0000,
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error(s)
|
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
To learn more, run the command again with --verbose.
|