From b83d243e711b65e32925510343df566080776dd5 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 1 Jun 2024 21:31:20 -0700 Subject: [PATCH] Ignore large_digit_groups pedantic clippy lint in test warning: digit groups should be smaller --> tests/test.rs:962:9 | 962 | 51.24817837550540_4, // 51.2481783755054_1 | ^^^^^^^^^^^^^^^^^^^ help: consider: `51.248_178_375_505_404` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups = note: `-W clippy::large-digit-groups` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::large_digit_groups)]` warning: digit groups should be smaller --> tests/test.rs:963:10 | 963 | -93.3113703768803_3, // -93.3113703768803_2 | ^^^^^^^^^^^^^^^^^^ help: consider: `93.311_370_376_880_33` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups warning: digit groups should be smaller --> tests/test.rs:964:10 | 964 | -36.5739948427534_36, // -36.5739948427534_4 | ^^^^^^^^^^^^^^^^^^^ help: consider: `36.573_994_842_753_436` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups warning: digit groups should be smaller --> tests/test.rs:965:9 | 965 | 52.31400820410624_4, // 52.31400820410624_ | ^^^^^^^^^^^^^^^^^^^ help: consider: `52.314_008_204_106_244` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups warning: digit groups should be smaller --> tests/test.rs:966:9 | 966 | 97.4536532003468_5, // 97.4536532003468_4 | ^^^^^^^^^^^^^^^^^^ help: consider: `97.453_653_200_346_85` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_digit_groups --- tests/test.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.rs b/tests/test.rs index ef2b12d0d..11f185eac 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -7,6 +7,7 @@ clippy::float_cmp, clippy::incompatible_msrv, // https://github.com/rust-lang/rust-clippy/issues/12257 clippy::items_after_statements, + clippy::large_digit_groups, clippy::let_underscore_untyped, clippy::shadow_unrelated, clippy::too_many_lines,