From e155fe1d86e3a21dd32832f2f1f6253593a4688f Mon Sep 17 00:00:00 2001 From: Benjamin Brienen Date: Sun, 10 Nov 2024 15:42:29 +0100 Subject: [PATCH] Disable lint that interferes with rust beta CI compatibility (#16199) # Objective Fix our CI with rust beta ## Solution Disable new lint ## Testing Ran `cargo +nightly clippy`. --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8ed4833a00..a371f316cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,7 @@ semicolon_if_nothing_returned = "warn" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" +needless_lifetimes = "allow" ptr_as_ptr = "warn" ptr_cast_constness = "warn" @@ -80,6 +81,7 @@ semicolon_if_nothing_returned = "warn" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" +needless_lifetimes = "allow" ptr_as_ptr = "warn" ptr_cast_constness = "warn"