From 42c8ac99c88d65bc0c444c9e408b09d379812784 Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 31 Aug 2020 21:30:50 -0400 Subject: [PATCH] Enforce all the pedantic lints that are currently obeyed Signed-off-by: mulhern --- Makefile | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 629c39e5fc8..9e9bc77bd97 100644 --- a/Makefile +++ b/Makefile @@ -9,11 +9,50 @@ RUST_2018_IDIOMS = -D bare-trait-objects \ DENY = -D warnings -D future-incompatible -D unused ${RUST_2018_IDIOMS} -CLIPPY_DENY = -D clippy::cast_lossless \ +CLIPPY_DENY = -D clippy::await_holding_lock \ + -D clippy::cast_lossless \ -D clippy::cast_possible_truncation \ + -D clippy::cast_precision_loss \ + -D clippy::cast_ptr_alignment \ + -D clippy::checked_conversions \ + -D clippy::copy_iterator \ + -D clippy::empty_enum \ + -D clippy::enum_glob_use \ + -D clippy::fn_params_excessive_bools \ + -D clippy::expl_impl_clone_on_copy \ + -D clippy::explicit_deref_methods \ + -D clippy::explicit_into_iter_loop \ + -D clippy::implicit_hasher \ + -D clippy::implicit_saturating_sub \ + -D clippy::inefficient_to_string \ + -D clippy::invalid_upcast_comparisons \ + -D clippy::large_digit_groups \ + -D clippy::large_stack_arrays \ + -D clippy::let_unit_value \ + -D clippy::linkedlist \ + -D clippy::macro_use_imports \ + -D clippy::map_flatten \ + -D clippy::match_bool \ + -D clippy::match_on_vec_items \ + -D clippy::match_wild_err_arm \ + -D clippy::maybe_infinite_iter \ + -D clippy::mut_mut \ -D clippy::needless_borrow \ -D clippy::needless_continue \ -D clippy::option_option \ + -D clippy::pub_enum_variant_names \ + -D clippy::range_minus_one \ + -D clippy::range_plus_one \ + -D clippy::same_functions_in_if_condition \ + -D clippy::similar_names \ + -D clippy::string_add_assign \ + -D clippy::struct_excessive_bools \ + -D clippy::type_repetition_in_bounds \ + -D clippy::unicode_not_nfc \ + -D clippy::unreadable_literal \ + -D clippy::unsafe_derive_deserialize \ + -D clippy::used_underscore_binding \ + -D clippy::wildcard_imports \ -D warnings ${HOME}/.cargo/bin/cargo-outdated: