diff options
-rw-r--r-- | crates/tools/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs index 92634655d..f00e46a34 100644 --- a/crates/tools/src/lib.rs +++ b/crates/tools/src/lib.rs | |||
@@ -144,7 +144,8 @@ pub fn run_clippy() -> Result<()> { | |||
144 | _ => install_clippy()?, | 144 | _ => install_clippy()?, |
145 | }; | 145 | }; |
146 | 146 | ||
147 | let allowed_lints = ["clippy::collapsible_if", "clippy::nonminimal_bool"]; | 147 | let allowed_lints = |
148 | ["clippy::collapsible_if", "clippy::nonminimal_bool", "clippy::needless_pass_by_value"]; | ||
148 | run( | 149 | run( |
149 | &format!( | 150 | &format!( |
150 | "rustup run {} -- cargo clippy --all-features --all-targets -- -A {}", | 151 | "rustup run {} -- cargo clippy --all-features --all-targets -- -A {}", |