rust-clippy/tests/ui/decimal_literal_representation.stderr

35 lines
1.2 KiB
Text
Raw Normal View History

2018-01-23 14:29:31 +00:00
error: integer literal has a better hexadecimal representation
2018-12-10 05:27:19 +00:00
--> $DIR/decimal_literal_representation.rs:26:9
2018-01-23 14:29:31 +00:00
|
2018-12-10 05:27:19 +00:00
26 | 32_773, // 0x8005
| ^^^^^^ help: consider: `0x8005`
2018-01-23 14:29:31 +00:00
|
= note: `-D clippy::decimal-literal-representation` implied by `-D warnings`
2018-01-23 14:29:31 +00:00
error: integer literal has a better hexadecimal representation
2018-12-10 05:27:19 +00:00
--> $DIR/decimal_literal_representation.rs:27:9
2018-01-23 14:29:31 +00:00
|
2018-12-10 05:27:19 +00:00
27 | 65_280, // 0xFF00
| ^^^^^^ help: consider: `0xFF00`
2018-01-23 14:29:31 +00:00
error: integer literal has a better hexadecimal representation
2018-12-10 05:27:19 +00:00
--> $DIR/decimal_literal_representation.rs:28:9
2018-01-23 14:29:31 +00:00
|
2018-12-10 05:27:19 +00:00
28 | 2_131_750_927, // 0x7F0F_F00F
| ^^^^^^^^^^^^^ help: consider: `0x7F0F_F00F`
2018-01-23 14:29:31 +00:00
error: integer literal has a better hexadecimal representation
2018-12-10 05:27:19 +00:00
--> $DIR/decimal_literal_representation.rs:29:9
2018-01-23 14:29:31 +00:00
|
2018-12-10 05:27:19 +00:00
29 | 2_147_483_647, // 0x7FFF_FFFF
| ^^^^^^^^^^^^^ help: consider: `0x7FFF_FFFF`
2018-01-23 14:29:31 +00:00
error: integer literal has a better hexadecimal representation
2018-12-10 05:27:19 +00:00
--> $DIR/decimal_literal_representation.rs:30:9
2018-01-23 14:29:31 +00:00
|
2018-12-10 05:27:19 +00:00
30 | 4_042_322_160, // 0xF0F0_F0F0
| ^^^^^^^^^^^^^ help: consider: `0xF0F0_F0F0`
2018-01-23 14:29:31 +00:00
error: aborting due to 5 previous errors
2018-01-23 14:29:31 +00:00