1 // This file was generated by `cargo dev update_lints`.
2 // Use that command to update this file and do not edit by hand.
3 // Manual edits will be overwritten.
6 store.register_removed(
7 "clippy::should_assert_eq",
8 "`assert!()` will be more flexible with RFC 2011",
10 store.register_removed(
11 "clippy::extend_from_slice",
12 "`.extend_from_slice(_)` is a faster way to extend a Vec by a slice",
14 store.register_removed(
15 "clippy::range_step_by_zero",
16 "`iterator.step_by(0)` panics nowadays",
18 store.register_removed(
19 "clippy::unstable_as_slice",
20 "`Vec::as_slice` has been stabilized in 1.7",
22 store.register_removed(
23 "clippy::unstable_as_mut_slice",
24 "`Vec::as_mut_slice` has been stabilized in 1.7",
26 store.register_removed(
27 "clippy::misaligned_transmute",
28 "this lint has been split into cast_ptr_alignment and transmute_ptr_to_ptr",
30 store.register_removed(
32 "using compound assignment operators (e.g., `+=`) is harmless",
34 store.register_removed(
35 "clippy::if_let_redundant_pattern_matching",
36 "this lint has been changed to redundant_pattern_matching",
38 store.register_removed(
39 "clippy::unsafe_vector_initialization",
40 "the replacement suggested by this lint had substantially different behavior",
42 store.register_removed(
43 "clippy::unused_collect",
44 "`collect` has been marked as #[must_use] in rustc and that covers all cases of this lint",
46 store.register_removed(
47 "clippy::replace_consts",
48 "associated-constants `MIN`/`MAX` of integers are preferred to `{min,max}_value()` and module constants",
50 store.register_removed(
51 "clippy::regex_macro",
52 "the regex! macro has been removed from the regex crate in 2018",
54 store.register_removed(
56 "this lint has been replaced by `manual_find_map`, a more specific lint",
58 store.register_removed(
60 "this lint has been replaced by `manual_filter_map`, a more specific lint",
62 store.register_removed(
63 "clippy::pub_enum_variant_names",
64 "set the `avoid-breaking-exported-api` config option to `false` to enable the `enum_variant_names` lint for public items",
66 store.register_removed(
67 "clippy::wrong_pub_self_convention",
68 "set the `avoid-breaking-exported-api` config option to `false` to enable the `wrong_self_convention` lint for public items",