diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/tools/src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs index f00e46a34..b424eb701 100644 --- a/crates/tools/src/lib.rs +++ b/crates/tools/src/lib.rs | |||
@@ -144,8 +144,12 @@ pub fn run_clippy() -> Result<()> { | |||
144 | _ => install_clippy()?, | 144 | _ => install_clippy()?, |
145 | }; | 145 | }; |
146 | 146 | ||
147 | let allowed_lints = | 147 | let allowed_lints = [ |
148 | ["clippy::collapsible_if", "clippy::nonminimal_bool", "clippy::needless_pass_by_value"]; | 148 | "clippy::collapsible_if", |
149 | "clippy::nonminimal_bool", | ||
150 | "clippy::needless_pass_by_value", | ||
151 | "clippy::map_clone", // FIXME: remove when Iterator::copied stabilizes (1.36.0) | ||
152 | ]; | ||
149 | run( | 153 | run( |
150 | &format!( | 154 | &format!( |
151 | "rustup run {} -- cargo clippy --all-features --all-targets -- -A {}", | 155 | "rustup run {} -- cargo clippy --all-features --all-targets -- -A {}", |