2020-12-06 14:01:03 +00:00
|
|
|
error: digits grouped inconsistently by underscores
|
2021-07-21 03:23:22 +00:00
|
|
|
--> $DIR/test.rs:19:18
|
2020-12-06 14:01:03 +00:00
|
|
|
|
|
|
|
|
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`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::inconsistent_digit_grouping)]`
|
2020-12-06 14:01:03 +00:00
|
|
|
|
2023-07-02 12:35:19 +00:00
|
|
|
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`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::unreadable_literal)]`
|
2023-07-02 12:35:19 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2020-12-06 14:01:03 +00:00
|
|
|
|