diff --git a/Cargo.toml b/Cargo.toml index 0aedc917b..38f531d87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,6 +71,7 @@ asan = [] rust.non_camel_case_types = "allow" rust.non_upper_case_globals = "allow" rust.unstable_name_collisions = "allow" +clippy.assigning_clones = "allow" clippy.bool_assert_comparison = "allow" clippy.box_default = "allow" clippy.collapsible_if = "allow" @@ -79,9 +80,10 @@ clippy.derivable_impls = "allow" clippy.field_reassign_with_default = "allow" clippy.get_first = "allow" clippy.if_same_then_else = "allow" +clippy.incompatible_msrv = "allow" clippy.len_without_is_empty = "allow" -clippy.manual_range_contains = "allow" clippy.manual_is_ascii_check = "allow" +clippy.manual_range_contains = "allow" clippy.mut_from_ref = "allow" clippy.needless_return = "allow" clippy.new_without_default = "allow" diff --git a/src/bin/fish_indent.rs b/src/bin/fish_indent.rs index 9690f634f..d86f8de09 100644 --- a/src/bin/fish_indent.rs +++ b/src/bin/fish_indent.rs @@ -2,6 +2,7 @@ // Delete this once we require Rust 1.74. #![allow(unstable_name_collisions)] +#![allow(clippy::incompatible_msrv)] #![allow(clippy::uninlined_format_args)] use std::ffi::{CString, OsStr}; diff --git a/src/lib.rs b/src/lib.rs index d7393cec3..c9da4717e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,8 +1,8 @@ -// Delete this once we require Rust 1.74. #![cfg_attr(feature = "benchmark", feature(test))] #![allow(non_camel_case_types)] #![allow(non_upper_case_globals)] #![allow(unstable_name_collisions)] +#![allow(clippy::assigning_clones)] #![allow(clippy::bool_assert_comparison)] #![allow(clippy::box_default)] #![allow(clippy::collapsible_if)] @@ -11,6 +11,7 @@ #![allow(clippy::field_reassign_with_default)] #![allow(clippy::get_first)] #![allow(clippy::if_same_then_else)] +#![allow(clippy::incompatible_msrv)] #![allow(clippy::len_without_is_empty)] #![allow(clippy::manual_is_ascii_check)] #![allow(clippy::mut_from_ref)]