]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/decimal_literal_representation.stderr
[`excessive_bools`] lint trait functions even without bodies
[rust.git] / tests / ui / decimal_literal_representation.stderr
index e3fbeba814838ae86170f34d4c926fb51844bb0d..8d50c8f83db44e51f640a0166999ab00a6a1f925 100644 (file)
@@ -1,43 +1,46 @@
 error: integer literal has a better hexadecimal representation
   --> $DIR/decimal_literal_representation.rs:18:9
    |
-18 |         32_773,        // 0x8005
-   |         ^^^^^^
+LL |         32_773,        // 0x8005
+   |         ^^^^^^ help: consider: `0x8005`
    |
-   = note: `-D decimal-literal-representation` implied by `-D warnings`
-   = help: consider: 0x8005
+   = note: `-D clippy::decimal-literal-representation` implied by `-D warnings`
 
 error: integer literal has a better hexadecimal representation
   --> $DIR/decimal_literal_representation.rs:19:9
    |
-19 |         65_280,        // 0xFF00
-   |         ^^^^^^
-   |
-   = help: consider: 0xFF00
+LL |         65_280,        // 0xFF00
+   |         ^^^^^^ help: consider: `0xFF00`
 
 error: integer literal has a better hexadecimal representation
   --> $DIR/decimal_literal_representation.rs:20:9
    |
-20 |         2_131_750_927, // 0x7F0F_F00F
-   |         ^^^^^^^^^^^^^
-   |
-   = help: consider: 0x7F0F_F00F
+LL |         2_131_750_927, // 0x7F0F_F00F
+   |         ^^^^^^^^^^^^^ help: consider: `0x7F0F_F00F`
 
 error: integer literal has a better hexadecimal representation
   --> $DIR/decimal_literal_representation.rs:21:9
    |
-21 |         2_147_483_647, // 0x7FFF_FFFF
-   |         ^^^^^^^^^^^^^
+LL |         2_147_483_647, // 0x7FFF_FFFF
+   |         ^^^^^^^^^^^^^ help: consider: `0x7FFF_FFFF`
+
+error: integer literal has a better hexadecimal representation
+  --> $DIR/decimal_literal_representation.rs:23:9
    |
-   = help: consider: 0x7FFF_FFFF
+LL |         4_042_322_160, // 0xF0F0_F0F0
+   |         ^^^^^^^^^^^^^ help: consider: `0xF0F0_F0F0`
 
 error: integer literal has a better hexadecimal representation
-  --> $DIR/decimal_literal_representation.rs:22:9
+  --> $DIR/decimal_literal_representation.rs:24:9
    |
-22 |         4_042_322_160, // 0xF0F0_F0F0
-   |         ^^^^^^^^^^^^^
+LL |         32_773usize,   // 0x8005_usize
+   |         ^^^^^^^^^^^ help: consider: `0x8005_usize`
+
+error: integer literal has a better hexadecimal representation
+  --> $DIR/decimal_literal_representation.rs:25:9
    |
-   = help: consider: 0xF0F0_F0F0
+LL |         2_131_750_927isize, // 0x7F0F_F00F_isize
+   |         ^^^^^^^^^^^^^^^^^^ help: consider: `0x7F0F_F00F_isize`
 
-error: aborting due to 5 previous errors
+error: aborting due to 7 previous errors