mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-16 01:38:13 +00:00
Allow clippy::map_clone
We should turn it on after Iterator::copied stabilizes
This commit is contained in:
parent
557e90c6ca
commit
07ebf5528e
1 changed files with 6 additions and 2 deletions
|
@ -144,8 +144,12 @@ pub fn run_clippy() -> Result<()> {
|
|||
_ => install_clippy()?,
|
||||
};
|
||||
|
||||
let allowed_lints =
|
||||
["clippy::collapsible_if", "clippy::nonminimal_bool", "clippy::needless_pass_by_value"];
|
||||
let allowed_lints = [
|
||||
"clippy::collapsible_if",
|
||||
"clippy::nonminimal_bool",
|
||||
"clippy::needless_pass_by_value",
|
||||
"clippy::map_clone", // FIXME: remove when Iterator::copied stabilizes (1.36.0)
|
||||
];
|
||||
run(
|
||||
&format!(
|
||||
"rustup run {} -- cargo clippy --all-features --all-targets -- -A {}",
|
||||
|
|
Loading…
Reference in a new issue