rust-clippy/tests/ui/rename.fixed

79 lines
2.6 KiB
Rust
Raw Normal View History

2022-04-03 12:51:17 +00: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.
// run-rustfix
#![allow(clippy::disallowed_names)]
2021-10-26 07:53:53 +00:00
#![allow(clippy::blocks_in_if_conditions)]
2022-04-04 00:28:47 +00:00
#![allow(clippy::box_collection)]
#![allow(clippy::redundant_static_lifetimes)]
#![allow(clippy::cognitive_complexity)]
#![allow(clippy::disallowed_methods)]
#![allow(clippy::disallowed_types)]
#![allow(clippy::mixed_read_write_in_expression)]
2021-10-26 07:53:53 +00:00
#![allow(clippy::for_loops_over_fallibles)]
#![allow(clippy::useless_conversion)]
#![allow(clippy::match_result_ok)]
#![allow(clippy::overly_complex_bool_expr)]
2022-04-04 00:28:47 +00: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 12:51:17 +00:00
#![allow(clippy::needless_borrow)]
2022-04-04 00:28:47 +00:00
#![allow(clippy::single_char_add_str)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::recursive_format_impl)]
2022-04-04 00:28:47 +00:00
#![allow(clippy::invisible_characters)]
2021-10-26 07:53:53 +00:00
#![allow(drop_bounds)]
2022-04-04 00:28:47 +00:00
#![allow(array_into_iter)]
2021-10-26 07:53:53 +00:00
#![allow(invalid_atomic_ordering)]
2022-04-04 00:28:47 +00:00
#![allow(invalid_value)]
2021-10-26 07:53:53 +00:00
#![allow(enum_intrinsics_non_enums)]
2022-04-04 00:28:47 +00:00
#![allow(non_fmt_panics)]
2022-08-30 12:20:49 +00:00
#![allow(named_arguments_used_positionally)]
2022-04-04 00:28:47 +00:00
#![allow(temporary_cstring_as_ptr)]
#![allow(unknown_lints)]
#![allow(unused_labels)]
#![warn(clippy::disallowed_names)]
#![warn(clippy::blocks_in_if_conditions)]
#![warn(clippy::blocks_in_if_conditions)]
2022-04-04 00:28:47 +00:00
#![warn(clippy::box_collection)]
#![warn(clippy::redundant_static_lifetimes)]
#![warn(clippy::cognitive_complexity)]
#![warn(clippy::disallowed_methods)]
#![warn(clippy::disallowed_types)]
#![warn(clippy::mixed_read_write_in_expression)]
2021-10-26 07:53:53 +00:00
#![warn(clippy::for_loops_over_fallibles)]
#![warn(clippy::for_loops_over_fallibles)]
#![warn(clippy::useless_conversion)]
#![warn(clippy::match_result_ok)]
#![warn(clippy::overly_complex_bool_expr)]
2022-04-04 00:28:47 +00:00
#![warn(clippy::new_without_default)]
#![warn(clippy::bind_instead_of_map)]
#![warn(clippy::expect_used)]
#![warn(clippy::map_unwrap_or)]
#![warn(clippy::map_unwrap_or)]
#![warn(clippy::unwrap_used)]
#![warn(clippy::needless_borrow)]
2022-04-04 00:28:47 +00:00
#![warn(clippy::expect_used)]
#![warn(clippy::map_unwrap_or)]
#![warn(clippy::unwrap_used)]
#![warn(clippy::single_char_add_str)]
#![warn(clippy::module_name_repetitions)]
#![warn(clippy::recursive_format_impl)]
2022-04-04 00:28:47 +00:00
#![warn(clippy::invisible_characters)]
2021-10-26 07:53:53 +00:00
#![warn(drop_bounds)]
2022-04-04 00:28:47 +00:00
#![warn(array_into_iter)]
2021-10-26 07:53:53 +00:00
#![warn(invalid_atomic_ordering)]
2022-04-04 00:28:47 +00:00
#![warn(invalid_value)]
2021-10-26 07:53:53 +00:00
#![warn(enum_intrinsics_non_enums)]
2022-04-04 00:28:47 +00:00
#![warn(non_fmt_panics)]
2022-08-30 12:20:49 +00:00
#![warn(named_arguments_used_positionally)]
2022-04-04 00:28:47 +00:00
#![warn(temporary_cstring_as_ptr)]
#![warn(unknown_lints)]
#![warn(unused_labels)]
fn main() {}