From 3b9c65aefe3079f87cbe36b85a5e3ee903ace0ae Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Thu, 18 Aug 2022 15:09:48 -0400 Subject: [PATCH] Disable more clippy checks in glue --- crates/glue/src/glue.rs | 8 ++++++++ crates/glue/templates/header.rs | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/crates/glue/src/glue.rs b/crates/glue/src/glue.rs index 46a6c83286..a352ff820a 100644 --- a/crates/glue/src/glue.rs +++ b/crates/glue/src/glue.rs @@ -7,6 +7,14 @@ #![allow(non_camel_case_types)] #![allow(non_upper_case_globals)] #![allow(clippy::undocumented_unsafe_blocks)] +#![allow(clippy::redundant_static_lifetimes)] +#![allow(clippy::unused_unit)] +#![allow(clippy::missing_safety_doc)] +#![allow(clippy::let_and_return)] +#![allow(clippy::missing_safety_doc)] +#![allow(clippy::redundant_static_lifetimes)] +#![allow(clippy::needless_borrow)] +#![allow(clippy::clone_on_copy)] #[cfg(any( target_arch = "arm", diff --git a/crates/glue/templates/header.rs b/crates/glue/templates/header.rs index fa93e33ad6..9f7f9707df 100644 --- a/crates/glue/templates/header.rs +++ b/crates/glue/templates/header.rs @@ -7,3 +7,11 @@ #![allow(non_camel_case_types)] #![allow(non_upper_case_globals)] #![allow(clippy::undocumented_unsafe_blocks)] +#![allow(clippy::redundant_static_lifetimes)] +#![allow(clippy::unused_unit)] +#![allow(clippy::missing_safety_doc)] +#![allow(clippy::let_and_return)] +#![allow(clippy::missing_safety_doc)] +#![allow(clippy::redundant_static_lifetimes)] +#![allow(clippy::needless_borrow)] +#![allow(clippy::clone_on_copy)]