mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
18 lines
608 B
Text
18 lines
608 B
Text
error: digits grouped inconsistently by underscores
|
|
--> $DIR/test.rs:19:18
|
|
|
|
|
LL | let _fail1 = 100_200_300.123456789;
|
|
| ^^^^^^^^^^^^^^^^^^^^^ help: consider: `100_200_300.123_456_789`
|
|
|
|
|
= note: `-D clippy::inconsistent-digit-grouping` implied by `-D warnings`
|
|
|
|
error: long literal lacking separators
|
|
--> $DIR/test.rs:22:18
|
|
|
|
|
LL | let _fail2 = 100200300.300200100;
|
|
| ^^^^^^^^^^^^^^^^^^^ help: consider: `100_200_300.300_200_100`
|
|
|
|
|
= note: `-D clippy::unreadable-literal` implied by `-D warnings`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|