diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-07-25 17:02:52 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2025-07-25 17:02:52 +0200 |
| commit | 9660038cea954afdc3e797570e28466ecf71be1a (patch) | |
| tree | a8d5b4f054cc857afc2544ddf699709d921bacfa /src/bootstrap | |
| parent | a0b18b3318462e630a7689217c192675bb6b2b7b (diff) | |
Allow approx-constant in `x clippy library`
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/clippy.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/clippy.rs b/src/bootstrap/src/core/build_steps/clippy.rs index a0371eb7155..b119f2dc3ce 100644 --- a/src/bootstrap/src/core/build_steps/clippy.rs +++ b/src/bootstrap/src/core/build_steps/clippy.rs @@ -19,6 +19,7 @@ const IGNORED_RULES_FOR_STD_AND_RUSTC: &[&str] = &[ "too_many_arguments", "needless_lifetimes", // people want to keep the lifetimes "wrong_self_convention", + "approx_constant", // libcore is what defines those ]; fn lint_args(builder: &Builder<'_>, config: &LintConfig, ignored_rules: &[&str]) -> Vec<String> { |
