2018-01-23 14:29:31 +00:00
|
|
|
error: integer literal has a better hexadecimal representation
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/decimal_literal_representation.rs:16:9
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | 32_773, // 0x8005
|
2018-03-01 15:15:41 +00:00
|
|
|
| ^^^^^^ help: consider: `0x8005`
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
2018-08-01 14:30:44 +00:00
|
|
|
= note: `-D clippy::decimal-literal-representation` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::decimal_literal_representation)]`
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
|
|
error: integer literal has a better hexadecimal representation
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/decimal_literal_representation.rs:17:9
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | 65_280, // 0xFF00
|
2018-03-01 15:15:41 +00:00
|
|
|
| ^^^^^^ help: consider: `0xFF00`
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
|
|
error: integer literal has a better hexadecimal representation
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/decimal_literal_representation.rs:18:9
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | 2_131_750_927, // 0x7F0F_F00F
|
2018-03-01 15:15:41 +00:00
|
|
|
| ^^^^^^^^^^^^^ help: consider: `0x7F0F_F00F`
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
|
|
error: integer literal has a better hexadecimal representation
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/decimal_literal_representation.rs:19:9
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | 2_147_483_647, // 0x7FFF_FFFF
|
2018-03-01 15:15:41 +00:00
|
|
|
| ^^^^^^^^^^^^^ help: consider: `0x7FFF_FFFF`
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
|
|
error: integer literal has a better hexadecimal representation
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/decimal_literal_representation.rs:21:9
|
2018-01-23 14:29:31 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | 4_042_322_160, // 0xF0F0_F0F0
|
2018-03-01 15:15:41 +00:00
|
|
|
| ^^^^^^^^^^^^^ help: consider: `0xF0F0_F0F0`
|
2018-01-23 14:29:31 +00:00
|
|
|
|
2019-12-25 16:22:36 +00:00
|
|
|
error: integer literal has a better hexadecimal representation
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/decimal_literal_representation.rs:22:9
|
2019-12-25 16:22:36 +00:00
|
|
|
|
|
|
|
|
LL | 32_773usize, // 0x8005_usize
|
|
|
|
| ^^^^^^^^^^^ help: consider: `0x8005_usize`
|
|
|
|
|
|
|
|
error: integer literal has a better hexadecimal representation
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/decimal_literal_representation.rs:23:9
|
2019-12-25 16:22:36 +00:00
|
|
|
|
|
|
|
|
LL | 2_131_750_927isize, // 0x7F0F_F00F_isize
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: consider: `0x7F0F_F00F_isize`
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2018-01-23 14:29:31 +00:00
|
|
|
|