]> git.proxmox.com Git - cargo.git/commitdiff
Remove warn(clippy::*)
authorLucas Kent <rubickent@gmail.com>
Tue, 8 Mar 2022 22:52:05 +0000 (09:52 +1100)
committerLucas Kent <rubickent@gmail.com>
Tue, 8 Mar 2022 23:33:39 +0000 (10:33 +1100)
crates/cargo-test-support/src/lib.rs
src/bin/cargo/main.rs
src/cargo/lib.rs
tests/testsuite/main.rs

index 5280ea0efd20a22a2091d8be9e93d442f751ad92..97c9beeddbec1b9cbe0b314f5aeffe25fe699a91 100644 (file)
@@ -3,8 +3,6 @@
 //! See <https://rust-lang.github.io/cargo/contrib/> for a guide on writing tests.
 
 #![allow(clippy::all)]
-#![warn(clippy::needless_borrow)]
-#![warn(clippy::redundant_clone)]
 #![cfg_attr(feature = "deny-warnings", deny(warnings))]
 
 use std::env;
index 109cd5de5b208c29f2902a8e4536f33193934bc1..b605d911fe0f93119e2a4d5d3514fc1e7183fdfa 100644 (file)
@@ -1,7 +1,5 @@
 #![warn(rust_2018_idioms)] // while we're getting used to 2018
 #![allow(clippy::all)]
-#![warn(clippy::needless_borrow)]
-#![warn(clippy::redundant_clone)]
 
 use cargo::core::shell::Shell;
 use cargo::util::toml::StringOrVec;
index 17fcf8c0fe11fde23cf67929fe45ab4fc93f1141..6b55c57434fdc6ad8eb43115504dfdfc17be902d 100644 (file)
@@ -5,8 +5,6 @@
 // Due to some of the default clippy lints being somewhat subjective and not
 // necessarily an improvement, we prefer to not use them at this time.
 #![allow(clippy::all)]
-#![warn(clippy::needless_borrow)]
-#![warn(clippy::redundant_clone)]
 
 use crate::core::shell::Verbosity::Verbose;
 use crate::core::Shell;
index df0977c7bf17d424a7eed5a3350931ac8d696fb5..b5faa479275b480fab5451447d143fb0bd166414 100644 (file)
@@ -1,8 +1,6 @@
 // See src/cargo/lib.rs for notes on these lint settings.
 #![warn(rust_2018_idioms)]
 #![allow(clippy::all)]
-#![warn(clippy::needless_borrow)]
-#![warn(clippy::redundant_clone)]
 #![cfg_attr(feature = "deny-warnings", deny(warnings))]
 
 #[macro_use]