mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Ignore Clippy redundant_closure
This commit is contained in:
parent
ef0223f125
commit
f818762b66
@ -10,6 +10,7 @@
|
|||||||
#![allow(clippy::identity_op)] // used for vertical alignment
|
#![allow(clippy::identity_op)] // used for vertical alignment
|
||||||
#![allow(clippy::implicit_hasher)] // large project
|
#![allow(clippy::implicit_hasher)] // large project
|
||||||
#![allow(clippy::large_enum_variant)] // large project
|
#![allow(clippy::large_enum_variant)] // large project
|
||||||
|
#![allow(clippy::redundant_closure)] // closures can be less verbose
|
||||||
#![allow(clippy::redundant_closure_call)] // closures over try catch blocks
|
#![allow(clippy::redundant_closure_call)] // closures over try catch blocks
|
||||||
#![allow(clippy::too_many_arguments)] // large project
|
#![allow(clippy::too_many_arguments)] // large project
|
||||||
#![allow(clippy::type_complexity)] // there's an exceptionally complex type
|
#![allow(clippy::type_complexity)] // there's an exceptionally complex type
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
|
#![cfg_attr(feature = "deny-warnings", deny(warnings))]
|
||||||
#![allow(clippy::blacklisted_name)]
|
#![allow(clippy::blacklisted_name)]
|
||||||
#![allow(clippy::explicit_iter_loop)]
|
#![allow(clippy::explicit_iter_loop)]
|
||||||
|
#![allow(clippy::redundant_closure)]
|
||||||
#![warn(clippy::needless_borrow)]
|
#![warn(clippy::needless_borrow)]
|
||||||
#![warn(clippy::redundant_clone)]
|
#![warn(clippy::redundant_clone)]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user