Skip to content

Commit 9660038

Browse files
committed
Allow approx-constant in x clippy library
1 parent a0b18b3 commit 9660038

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/src/core/build_steps/clippy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const IGNORED_RULES_FOR_STD_AND_RUSTC: &[&str] = &[
1919
"too_many_arguments",
2020
"needless_lifetimes", // people want to keep the lifetimes
2121
"wrong_self_convention",
22+
"approx_constant", // libcore is what defines those
2223
];
2324

2425
fn lint_args(builder: &Builder<'_>, config: &LintConfig, ignored_rules: &[&str]) -> Vec<String> {

0 commit comments

Comments
 (0)