mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
57 lines
1.4 KiB
Text
57 lines
1.4 KiB
Text
error: bad representation of integer literal
|
|
--> $DIR/bad_literal_representation.rs:10:9
|
|
|
|
|
10 | 4096, // 0x1000
|
|
| ^^^^
|
|
|
|
|
= note: `-D bad-literal-representation` implied by `-D warnings`
|
|
= help: consider: 0x1000
|
|
|
|
error: bad representation of integer literal
|
|
--> $DIR/bad_literal_representation.rs:11:9
|
|
|
|
|
11 | 16_371, // 0x3FF3
|
|
| ^^^^^^
|
|
|
|
|
= help: consider: 0x3FF3
|
|
|
|
error: bad representation of integer literal
|
|
--> $DIR/bad_literal_representation.rs:12:9
|
|
|
|
|
12 | 32_773, // 0x8005
|
|
| ^^^^^^
|
|
|
|
|
= help: consider: 0x8005
|
|
|
|
error: bad representation of integer literal
|
|
--> $DIR/bad_literal_representation.rs:13:9
|
|
|
|
|
13 | 65_280, // 0xFF00
|
|
| ^^^^^^
|
|
|
|
|
= help: consider: 0xFF00
|
|
|
|
error: bad representation of integer literal
|
|
--> $DIR/bad_literal_representation.rs:14:9
|
|
|
|
|
14 | 2_131_750_927, // 0x7F0F_F00F
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= help: consider: 0x7F0F_F00F
|
|
|
|
error: bad representation of integer literal
|
|
--> $DIR/bad_literal_representation.rs:15:9
|
|
|
|
|
15 | 2_147_483_647, // 0x7FFF_FFFF
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= help: consider: 0x7FFF_FFFF
|
|
|
|
error: bad representation of integer literal
|
|
--> $DIR/bad_literal_representation.rs:16:9
|
|
|
|
|
16 | 4_042_322_160, // 0xF0F0_F0F0
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
= help: consider: 0xF0F0_F0F0
|
|
|