mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
Allow clippy::needless_pass_by_value
This commit is contained in:
parent
a181fd318b
commit
557e90c6ca
@ -144,7 +144,8 @@ pub fn run_clippy() -> Result<()> {
|
||||
_ => install_clippy()?,
|
||||
};
|
||||
|
||||
let allowed_lints = ["clippy::collapsible_if", "clippy::nonminimal_bool"];
|
||||
let allowed_lints =
|
||||
["clippy::collapsible_if", "clippy::nonminimal_bool", "clippy::needless_pass_by_value"];
|
||||
run(
|
||||
&format!(
|
||||
"rustup run {} -- cargo clippy --all-features --all-targets -- -A {}",
|
||||
|
Loading…
Reference in New Issue
Block a user