Add additional clippy lints
unused_qualifications
)]
#![deny(
- clippy::doc_markdown,
- clippy::replace_consts,
- clippy::explicit_iter_loop,
- clippy::match_same_arms,
- clippy::used_underscore_binding,
- clippy::inline_always,
+ // clippy::else_if_without_else,
+ // clippy::float_arithmetic,
+ // clippy::indexing_slicing,
clippy::cast_lossless,
- clippy::shadow_unrelated,
- clippy::shadow_same,
- clippy::shadow_reuse,
clippy::cast_possible_truncation,
clippy::cast_possible_wrap,
+ clippy::cast_precision_loss,
clippy::cast_sign_loss,
- clippy::cast_precision_loss
+ clippy::checked_conversions,
+ clippy::decimal_literal_representation,
+ clippy::doc_markdown,
+ clippy::empty_enum,
+ clippy::expl_impl_clone_on_copy,
+ clippy::explicit_into_iter_loop,
+ clippy::explicit_iter_loop,
+ clippy::explicit_iter_loop,
+ clippy::fallible_impl_from,
+ clippy::filter_map,
+ clippy::filter_map_next,
+ clippy::find_map,
+ clippy::get_unwrap,
+ clippy::if_not_else,
+ clippy::inline_always,
+ clippy::invalid_upcast_comparisons,
+ clippy::items_after_statements,
+ clippy::map_flatten,
+ clippy::match_same_arms,
+ clippy::maybe_infinite_iter,
+ clippy::mem_forget,
+ clippy::missing_const_for_fn,
+ clippy::replace_consts,
+ clippy::shadow_reuse,
+ clippy::shadow_same,
+ clippy::shadow_unrelated,
+ clippy::used_underscore_binding,
)]
#[cfg(feature = "failpoints")]
