2022-04-03 07:51:17 -05:00
|
|
|
// This file was generated by `cargo dev update_lints`.
|
|
|
|
// Use that command to update this file and do not edit by hand.
|
|
|
|
// Manual edits will be overwritten.
|
|
|
|
|
2019-08-18 02:37:12 -05:00
|
|
|
// run-rustfix
|
2019-06-14 02:54:34 -05:00
|
|
|
|
2021-10-26 02:53:53 -05:00
|
|
|
#![allow(clippy::blocks_in_if_conditions)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![allow(clippy::box_collection)]
|
|
|
|
#![allow(clippy::redundant_static_lifetimes)]
|
|
|
|
#![allow(clippy::cognitive_complexity)]
|
|
|
|
#![allow(clippy::disallowed_methods)]
|
|
|
|
#![allow(clippy::disallowed_types)]
|
2022-05-03 09:56:59 -05:00
|
|
|
#![allow(clippy::mixed_read_write_in_expression)]
|
2021-10-26 15:55:51 -05:00
|
|
|
#![allow(clippy::for_loops_over_fallibles)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![allow(clippy::useless_conversion)]
|
|
|
|
#![allow(clippy::match_result_ok)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![allow(clippy::new_without_default)]
|
|
|
|
#![allow(clippy::bind_instead_of_map)]
|
|
|
|
#![allow(clippy::expect_used)]
|
|
|
|
#![allow(clippy::map_unwrap_or)]
|
|
|
|
#![allow(clippy::unwrap_used)]
|
2022-04-03 07:51:17 -05:00
|
|
|
#![allow(clippy::needless_borrow)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![allow(clippy::single_char_add_str)]
|
|
|
|
#![allow(clippy::module_name_repetitions)]
|
2021-12-28 12:27:11 -06:00
|
|
|
#![allow(clippy::recursive_format_impl)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![allow(clippy::invisible_characters)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![allow(drop_bounds)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![allow(array_into_iter)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![allow(invalid_atomic_ordering)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![allow(invalid_value)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![allow(enum_intrinsics_non_enums)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![allow(non_fmt_panics)]
|
|
|
|
#![allow(temporary_cstring_as_ptr)]
|
|
|
|
#![allow(unknown_lints)]
|
|
|
|
#![allow(unused_labels)]
|
2021-10-26 15:55:51 -05:00
|
|
|
#![warn(clippy::block_in_if_condition_expr)]
|
|
|
|
#![warn(clippy::block_in_if_condition_stmt)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![warn(clippy::box_vec)]
|
|
|
|
#![warn(clippy::const_static_lifetime)]
|
|
|
|
#![warn(clippy::cyclomatic_complexity)]
|
|
|
|
#![warn(clippy::disallowed_method)]
|
|
|
|
#![warn(clippy::disallowed_type)]
|
2022-05-03 09:56:59 -05:00
|
|
|
#![warn(clippy::eval_order_dependence)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![warn(clippy::for_loop_over_option)]
|
|
|
|
#![warn(clippy::for_loop_over_result)]
|
|
|
|
#![warn(clippy::identity_conversion)]
|
|
|
|
#![warn(clippy::if_let_some_result)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![warn(clippy::new_without_default_derive)]
|
|
|
|
#![warn(clippy::option_and_then_some)]
|
|
|
|
#![warn(clippy::option_expect_used)]
|
|
|
|
#![warn(clippy::option_map_unwrap_or)]
|
|
|
|
#![warn(clippy::option_map_unwrap_or_else)]
|
|
|
|
#![warn(clippy::option_unwrap_used)]
|
2022-01-11 18:44:33 -06:00
|
|
|
#![warn(clippy::ref_in_deref)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![warn(clippy::result_expect_used)]
|
|
|
|
#![warn(clippy::result_map_unwrap_or_else)]
|
|
|
|
#![warn(clippy::result_unwrap_used)]
|
|
|
|
#![warn(clippy::single_char_push_str)]
|
|
|
|
#![warn(clippy::stutter)]
|
2021-12-28 12:27:11 -06:00
|
|
|
#![warn(clippy::to_string_in_display)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![warn(clippy::zero_width_space)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![warn(clippy::drop_bounds)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![warn(clippy::into_iter_on_array)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![warn(clippy::invalid_atomic_ordering)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![warn(clippy::invalid_ref)]
|
2021-10-26 02:53:53 -05:00
|
|
|
#![warn(clippy::mem_discriminant_non_enum)]
|
2022-04-03 19:28:47 -05:00
|
|
|
#![warn(clippy::panic_params)]
|
|
|
|
#![warn(clippy::temporary_cstring_as_ptr)]
|
|
|
|
#![warn(clippy::unknown_clippy_lints)]
|
|
|
|
#![warn(clippy::unused_label)]
|
2018-12-17 06:59:09 -06:00
|
|
|
|
|
|
|
fn main() {}
|