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.
5 store.register_group(true, "clippy::style", Some("clippy_style"), vec![
6 LintId::of(assertions_on_constants::ASSERTIONS_ON_CONSTANTS),
7 LintId::of(blacklisted_name::BLACKLISTED_NAME),
8 LintId::of(blocks_in_if_conditions::BLOCKS_IN_IF_CONDITIONS),
9 LintId::of(bool_assert_comparison::BOOL_ASSERT_COMPARISON),
10 LintId::of(casts::FN_TO_NUMERIC_CAST),
11 LintId::of(casts::FN_TO_NUMERIC_CAST_WITH_TRUNCATION),
12 LintId::of(collapsible_if::COLLAPSIBLE_ELSE_IF),
13 LintId::of(collapsible_if::COLLAPSIBLE_IF),
14 LintId::of(comparison_chain::COMPARISON_CHAIN),
15 LintId::of(default::FIELD_REASSIGN_WITH_DEFAULT),
16 LintId::of(default_instead_of_iter_empty::DEFAULT_INSTEAD_OF_ITER_EMPTY),
17 LintId::of(dereference::NEEDLESS_BORROW),
18 LintId::of(derive::DERIVE_PARTIAL_EQ_WITHOUT_EQ),
19 LintId::of(disallowed_methods::DISALLOWED_METHODS),
20 LintId::of(disallowed_types::DISALLOWED_TYPES),
21 LintId::of(doc::MISSING_SAFETY_DOC),
22 LintId::of(doc::NEEDLESS_DOCTEST_MAIN),
23 LintId::of(enum_variants::ENUM_VARIANT_NAMES),
24 LintId::of(enum_variants::MODULE_INCEPTION),
25 LintId::of(eta_reduction::REDUNDANT_CLOSURE),
26 LintId::of(float_literal::EXCESSIVE_PRECISION),
27 LintId::of(from_over_into::FROM_OVER_INTO),
28 LintId::of(from_str_radix_10::FROM_STR_RADIX_10),
29 LintId::of(functions::DOUBLE_MUST_USE),
30 LintId::of(functions::MUST_USE_UNIT),
31 LintId::of(functions::RESULT_UNIT_ERR),
32 LintId::of(get_first::GET_FIRST),
33 LintId::of(inherent_to_string::INHERENT_TO_STRING),
34 LintId::of(init_numbered_fields::INIT_NUMBERED_FIELDS),
35 LintId::of(len_zero::COMPARISON_TO_EMPTY),
36 LintId::of(len_zero::LEN_WITHOUT_IS_EMPTY),
37 LintId::of(len_zero::LEN_ZERO),
38 LintId::of(literal_representation::INCONSISTENT_DIGIT_GROUPING),
39 LintId::of(literal_representation::UNUSUAL_BYTE_GROUPINGS),
40 LintId::of(loops::FOR_KV_MAP),
41 LintId::of(loops::NEEDLESS_RANGE_LOOP),
42 LintId::of(loops::SAME_ITEM_PUSH),
43 LintId::of(loops::WHILE_LET_ON_ITERATOR),
44 LintId::of(main_recursion::MAIN_RECURSION),
45 LintId::of(manual_async_fn::MANUAL_ASYNC_FN),
46 LintId::of(manual_bits::MANUAL_BITS),
47 LintId::of(manual_non_exhaustive::MANUAL_NON_EXHAUSTIVE),
48 LintId::of(map_clone::MAP_CLONE),
49 LintId::of(match_result_ok::MATCH_RESULT_OK),
50 LintId::of(matches::COLLAPSIBLE_MATCH),
51 LintId::of(matches::INFALLIBLE_DESTRUCTURING_MATCH),
52 LintId::of(matches::MANUAL_MAP),
53 LintId::of(matches::MATCH_LIKE_MATCHES_MACRO),
54 LintId::of(matches::MATCH_OVERLAPPING_ARM),
55 LintId::of(matches::MATCH_REF_PATS),
56 LintId::of(matches::REDUNDANT_PATTERN_MATCHING),
57 LintId::of(matches::SINGLE_MATCH),
58 LintId::of(mem_replace::MEM_REPLACE_OPTION_WITH_NONE),
59 LintId::of(mem_replace::MEM_REPLACE_WITH_DEFAULT),
60 LintId::of(methods::BYTES_NTH),
61 LintId::of(methods::CHARS_LAST_CMP),
62 LintId::of(methods::CHARS_NEXT_CMP),
63 LintId::of(methods::ERR_EXPECT),
64 LintId::of(methods::INTO_ITER_ON_REF),
65 LintId::of(methods::IS_DIGIT_ASCII_RADIX),
66 LintId::of(methods::ITER_CLONED_COLLECT),
67 LintId::of(methods::ITER_NEXT_SLICE),
68 LintId::of(methods::ITER_NTH_ZERO),
69 LintId::of(methods::ITER_SKIP_NEXT),
70 LintId::of(methods::MANUAL_SATURATING_ARITHMETIC),
71 LintId::of(methods::MAP_COLLECT_RESULT_UNIT),
72 LintId::of(methods::NEW_RET_NO_SELF),
73 LintId::of(methods::OBFUSCATED_IF_ELSE),
74 LintId::of(methods::OK_EXPECT),
75 LintId::of(methods::OPTION_MAP_OR_NONE),
76 LintId::of(methods::RESULT_MAP_OR_INTO_OPTION),
77 LintId::of(methods::SHOULD_IMPLEMENT_TRAIT),
78 LintId::of(methods::SINGLE_CHAR_ADD_STR),
79 LintId::of(methods::STRING_EXTEND_CHARS),
80 LintId::of(methods::UNNECESSARY_FOLD),
81 LintId::of(methods::UNNECESSARY_LAZY_EVALUATIONS),
82 LintId::of(methods::UNWRAP_OR_ELSE_DEFAULT),
83 LintId::of(methods::WRONG_SELF_CONVENTION),
84 LintId::of(misc::TOPLEVEL_REF_ARG),
85 LintId::of(misc::ZERO_PTR),
86 LintId::of(misc_early::BUILTIN_TYPE_SHADOW),
87 LintId::of(misc_early::DOUBLE_NEG),
88 LintId::of(misc_early::DUPLICATE_UNDERSCORE_ARGUMENT),
89 LintId::of(misc_early::MIXED_CASE_HEX_LITERALS),
90 LintId::of(misc_early::REDUNDANT_PATTERN),
91 LintId::of(mut_mutex_lock::MUT_MUTEX_LOCK),
92 LintId::of(mut_reference::UNNECESSARY_MUT_PASSED),
93 LintId::of(needless_late_init::NEEDLESS_LATE_INIT),
94 LintId::of(needless_parens_on_range_literals::NEEDLESS_PARENS_ON_RANGE_LITERALS),
95 LintId::of(neg_multiply::NEG_MULTIPLY),
96 LintId::of(new_without_default::NEW_WITHOUT_DEFAULT),
97 LintId::of(non_copy_const::BORROW_INTERIOR_MUTABLE_CONST),
98 LintId::of(non_copy_const::DECLARE_INTERIOR_MUTABLE_CONST),
99 LintId::of(non_expressive_names::JUST_UNDERSCORES_AND_DIGITS),
100 LintId::of(operators::ASSIGN_OP_PATTERN),
101 LintId::of(operators::OP_REF),
102 LintId::of(operators::PTR_EQ),
103 LintId::of(ptr::CMP_NULL),
104 LintId::of(ptr::PTR_ARG),
105 LintId::of(question_mark::QUESTION_MARK),
106 LintId::of(ranges::MANUAL_RANGE_CONTAINS),
107 LintId::of(redundant_field_names::REDUNDANT_FIELD_NAMES),
108 LintId::of(redundant_static_lifetimes::REDUNDANT_STATIC_LIFETIMES),
109 LintId::of(returns::LET_AND_RETURN),
110 LintId::of(returns::NEEDLESS_RETURN),
111 LintId::of(self_named_constructors::SELF_NAMED_CONSTRUCTORS),
112 LintId::of(single_component_path_imports::SINGLE_COMPONENT_PATH_IMPORTS),
113 LintId::of(strings::TRIM_SPLIT_WHITESPACE),
114 LintId::of(tabs_in_doc_comments::TABS_IN_DOC_COMMENTS),
115 LintId::of(to_digit_is_some::TO_DIGIT_IS_SOME),
116 LintId::of(unit_types::LET_UNIT_VALUE),
117 LintId::of(unnecessary_owned_empty_strings::UNNECESSARY_OWNED_EMPTY_STRINGS),
118 LintId::of(unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME),
119 LintId::of(unused_unit::UNUSED_UNIT),
120 LintId::of(upper_case_acronyms::UPPER_CASE_ACRONYMS),
121 LintId::of(write::PRINTLN_EMPTY_STRING),
122 LintId::of(write::PRINT_LITERAL),
123 LintId::of(write::PRINT_WITH_NEWLINE),
124 LintId::of(write::WRITELN_EMPTY_STRING),
125 LintId::of(write::WRITE_LITERAL),
126 LintId::of(write::WRITE_WITH_NEWLINE),