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::all", Some("clippy_all"), vec![
6 LintId::of(absurd_extreme_comparisons::ABSURD_EXTREME_COMPARISONS),
7 LintId::of(approx_const::APPROX_CONSTANT),
8 LintId::of(assertions_on_constants::ASSERTIONS_ON_CONSTANTS),
9 LintId::of(assign_ops::ASSIGN_OP_PATTERN),
10 LintId::of(assign_ops::MISREFACTORED_ASSIGN_OP),
11 LintId::of(async_yields_async::ASYNC_YIELDS_ASYNC),
12 LintId::of(attrs::BLANKET_CLIPPY_RESTRICTION_LINTS),
13 LintId::of(attrs::DEPRECATED_CFG_ATTR),
14 LintId::of(attrs::DEPRECATED_SEMVER),
15 LintId::of(attrs::MISMATCHED_TARGET_OS),
16 LintId::of(attrs::USELESS_ATTRIBUTE),
17 LintId::of(bit_mask::BAD_BIT_MASK),
18 LintId::of(bit_mask::INEFFECTIVE_BIT_MASK),
19 LintId::of(blacklisted_name::BLACKLISTED_NAME),
20 LintId::of(blocks_in_if_conditions::BLOCKS_IN_IF_CONDITIONS),
21 LintId::of(bool_assert_comparison::BOOL_ASSERT_COMPARISON),
22 LintId::of(booleans::LOGIC_BUG),
23 LintId::of(booleans::NONMINIMAL_BOOL),
24 LintId::of(casts::CAST_REF_TO_MUT),
25 LintId::of(casts::CHAR_LIT_AS_U8),
26 LintId::of(casts::FN_TO_NUMERIC_CAST),
27 LintId::of(casts::FN_TO_NUMERIC_CAST_WITH_TRUNCATION),
28 LintId::of(casts::UNNECESSARY_CAST),
29 LintId::of(collapsible_if::COLLAPSIBLE_ELSE_IF),
30 LintId::of(collapsible_if::COLLAPSIBLE_IF),
31 LintId::of(collapsible_match::COLLAPSIBLE_MATCH),
32 LintId::of(comparison_chain::COMPARISON_CHAIN),
33 LintId::of(copies::IFS_SAME_COND),
34 LintId::of(copies::IF_SAME_THEN_ELSE),
35 LintId::of(default::FIELD_REASSIGN_WITH_DEFAULT),
36 LintId::of(dereference::NEEDLESS_BORROW),
37 LintId::of(derivable_impls::DERIVABLE_IMPLS),
38 LintId::of(derive::DERIVE_HASH_XOR_EQ),
39 LintId::of(derive::DERIVE_ORD_XOR_PARTIAL_ORD),
40 LintId::of(disallowed_methods::DISALLOWED_METHODS),
41 LintId::of(disallowed_types::DISALLOWED_TYPES),
42 LintId::of(doc::MISSING_SAFETY_DOC),
43 LintId::of(doc::NEEDLESS_DOCTEST_MAIN),
44 LintId::of(double_comparison::DOUBLE_COMPARISONS),
45 LintId::of(double_parens::DOUBLE_PARENS),
46 LintId::of(drop_forget_ref::DROP_COPY),
47 LintId::of(drop_forget_ref::DROP_REF),
48 LintId::of(drop_forget_ref::FORGET_COPY),
49 LintId::of(drop_forget_ref::FORGET_REF),
50 LintId::of(duration_subsec::DURATION_SUBSEC),
51 LintId::of(entry::MAP_ENTRY),
52 LintId::of(enum_clike::ENUM_CLIKE_UNPORTABLE_VARIANT),
53 LintId::of(enum_variants::ENUM_VARIANT_NAMES),
54 LintId::of(enum_variants::MODULE_INCEPTION),
55 LintId::of(eq_op::EQ_OP),
56 LintId::of(eq_op::OP_REF),
57 LintId::of(erasing_op::ERASING_OP),
58 LintId::of(escape::BOXED_LOCAL),
59 LintId::of(eta_reduction::REDUNDANT_CLOSURE),
60 LintId::of(eval_order_dependence::DIVERGING_SUB_EXPRESSION),
61 LintId::of(eval_order_dependence::EVAL_ORDER_DEPENDENCE),
62 LintId::of(explicit_write::EXPLICIT_WRITE),
63 LintId::of(float_equality_without_abs::FLOAT_EQUALITY_WITHOUT_ABS),
64 LintId::of(float_literal::EXCESSIVE_PRECISION),
65 LintId::of(format::USELESS_FORMAT),
66 LintId::of(format_args::FORMAT_IN_FORMAT_ARGS),
67 LintId::of(format_args::TO_STRING_IN_FORMAT_ARGS),
68 LintId::of(formatting::POSSIBLE_MISSING_COMMA),
69 LintId::of(formatting::SUSPICIOUS_ASSIGNMENT_FORMATTING),
70 LintId::of(formatting::SUSPICIOUS_ELSE_FORMATTING),
71 LintId::of(formatting::SUSPICIOUS_UNARY_OP_FORMATTING),
72 LintId::of(from_over_into::FROM_OVER_INTO),
73 LintId::of(from_str_radix_10::FROM_STR_RADIX_10),
74 LintId::of(functions::DOUBLE_MUST_USE),
75 LintId::of(functions::MUST_USE_UNIT),
76 LintId::of(functions::NOT_UNSAFE_PTR_ARG_DEREF),
77 LintId::of(functions::RESULT_UNIT_ERR),
78 LintId::of(functions::TOO_MANY_ARGUMENTS),
79 LintId::of(get_last_with_len::GET_LAST_WITH_LEN),
80 LintId::of(identity_op::IDENTITY_OP),
81 LintId::of(if_let_mutex::IF_LET_MUTEX),
82 LintId::of(indexing_slicing::OUT_OF_BOUNDS_INDEXING),
83 LintId::of(infinite_iter::INFINITE_ITER),
84 LintId::of(inherent_to_string::INHERENT_TO_STRING),
85 LintId::of(inherent_to_string::INHERENT_TO_STRING_SHADOW_DISPLAY),
86 LintId::of(init_numbered_fields::INIT_NUMBERED_FIELDS),
87 LintId::of(inline_fn_without_body::INLINE_FN_WITHOUT_BODY),
88 LintId::of(int_plus_one::INT_PLUS_ONE),
89 LintId::of(large_const_arrays::LARGE_CONST_ARRAYS),
90 LintId::of(large_enum_variant::LARGE_ENUM_VARIANT),
91 LintId::of(len_zero::COMPARISON_TO_EMPTY),
92 LintId::of(len_zero::LEN_WITHOUT_IS_EMPTY),
93 LintId::of(len_zero::LEN_ZERO),
94 LintId::of(let_underscore::LET_UNDERSCORE_LOCK),
95 LintId::of(lifetimes::EXTRA_UNUSED_LIFETIMES),
96 LintId::of(lifetimes::NEEDLESS_LIFETIMES),
97 LintId::of(literal_representation::INCONSISTENT_DIGIT_GROUPING),
98 LintId::of(literal_representation::MISTYPED_LITERAL_SUFFIXES),
99 LintId::of(literal_representation::UNUSUAL_BYTE_GROUPINGS),
100 LintId::of(loops::EMPTY_LOOP),
101 LintId::of(loops::EXPLICIT_COUNTER_LOOP),
102 LintId::of(loops::FOR_KV_MAP),
103 LintId::of(loops::FOR_LOOPS_OVER_FALLIBLES),
104 LintId::of(loops::ITER_NEXT_LOOP),
105 LintId::of(loops::MANUAL_FLATTEN),
106 LintId::of(loops::MANUAL_MEMCPY),
107 LintId::of(loops::MUT_RANGE_BOUND),
108 LintId::of(loops::NEEDLESS_COLLECT),
109 LintId::of(loops::NEEDLESS_RANGE_LOOP),
110 LintId::of(loops::NEVER_LOOP),
111 LintId::of(loops::SAME_ITEM_PUSH),
112 LintId::of(loops::SINGLE_ELEMENT_LOOP),
113 LintId::of(loops::WHILE_IMMUTABLE_CONDITION),
114 LintId::of(loops::WHILE_LET_LOOP),
115 LintId::of(loops::WHILE_LET_ON_ITERATOR),
116 LintId::of(main_recursion::MAIN_RECURSION),
117 LintId::of(manual_async_fn::MANUAL_ASYNC_FN),
118 LintId::of(manual_bits::MANUAL_BITS),
119 LintId::of(manual_map::MANUAL_MAP),
120 LintId::of(manual_non_exhaustive::MANUAL_NON_EXHAUSTIVE),
121 LintId::of(manual_strip::MANUAL_STRIP),
122 LintId::of(manual_unwrap_or::MANUAL_UNWRAP_OR),
123 LintId::of(map_clone::MAP_CLONE),
124 LintId::of(map_unit_fn::OPTION_MAP_UNIT_FN),
125 LintId::of(map_unit_fn::RESULT_MAP_UNIT_FN),
126 LintId::of(match_result_ok::MATCH_RESULT_OK),
127 LintId::of(match_str_case_mismatch::MATCH_STR_CASE_MISMATCH),
128 LintId::of(matches::INFALLIBLE_DESTRUCTURING_MATCH),
129 LintId::of(matches::MATCH_AS_REF),
130 LintId::of(matches::MATCH_LIKE_MATCHES_MACRO),
131 LintId::of(matches::MATCH_OVERLAPPING_ARM),
132 LintId::of(matches::MATCH_REF_PATS),
133 LintId::of(matches::MATCH_SINGLE_BINDING),
134 LintId::of(matches::REDUNDANT_PATTERN_MATCHING),
135 LintId::of(matches::SINGLE_MATCH),
136 LintId::of(matches::WILDCARD_IN_OR_PATTERNS),
137 LintId::of(mem_replace::MEM_REPLACE_OPTION_WITH_NONE),
138 LintId::of(mem_replace::MEM_REPLACE_WITH_DEFAULT),
139 LintId::of(mem_replace::MEM_REPLACE_WITH_UNINIT),
140 LintId::of(methods::BIND_INSTEAD_OF_MAP),
141 LintId::of(methods::BYTES_NTH),
142 LintId::of(methods::CHARS_LAST_CMP),
143 LintId::of(methods::CHARS_NEXT_CMP),
144 LintId::of(methods::CLONE_DOUBLE_REF),
145 LintId::of(methods::CLONE_ON_COPY),
146 LintId::of(methods::EXPECT_FUN_CALL),
147 LintId::of(methods::EXTEND_WITH_DRAIN),
148 LintId::of(methods::FILTER_MAP_IDENTITY),
149 LintId::of(methods::FILTER_NEXT),
150 LintId::of(methods::FLAT_MAP_IDENTITY),
151 LintId::of(methods::INSPECT_FOR_EACH),
152 LintId::of(methods::INTO_ITER_ON_REF),
153 LintId::of(methods::ITERATOR_STEP_BY_ZERO),
154 LintId::of(methods::ITER_CLONED_COLLECT),
155 LintId::of(methods::ITER_COUNT),
156 LintId::of(methods::ITER_NEXT_SLICE),
157 LintId::of(methods::ITER_NTH),
158 LintId::of(methods::ITER_NTH_ZERO),
159 LintId::of(methods::ITER_OVEREAGER_CLONED),
160 LintId::of(methods::ITER_SKIP_NEXT),
161 LintId::of(methods::MANUAL_FILTER_MAP),
162 LintId::of(methods::MANUAL_FIND_MAP),
163 LintId::of(methods::MANUAL_SATURATING_ARITHMETIC),
164 LintId::of(methods::MANUAL_SPLIT_ONCE),
165 LintId::of(methods::MANUAL_STR_REPEAT),
166 LintId::of(methods::MAP_COLLECT_RESULT_UNIT),
167 LintId::of(methods::MAP_FLATTEN),
168 LintId::of(methods::MAP_IDENTITY),
169 LintId::of(methods::NEEDLESS_SPLITN),
170 LintId::of(methods::NEW_RET_NO_SELF),
171 LintId::of(methods::OK_EXPECT),
172 LintId::of(methods::OPTION_AS_REF_DEREF),
173 LintId::of(methods::OPTION_FILTER_MAP),
174 LintId::of(methods::OPTION_MAP_OR_NONE),
175 LintId::of(methods::OR_FUN_CALL),
176 LintId::of(methods::RESULT_MAP_OR_INTO_OPTION),
177 LintId::of(methods::SEARCH_IS_SOME),
178 LintId::of(methods::SHOULD_IMPLEMENT_TRAIT),
179 LintId::of(methods::SINGLE_CHAR_ADD_STR),
180 LintId::of(methods::SINGLE_CHAR_PATTERN),
181 LintId::of(methods::SKIP_WHILE_NEXT),
182 LintId::of(methods::STRING_EXTEND_CHARS),
183 LintId::of(methods::SUSPICIOUS_MAP),
184 LintId::of(methods::SUSPICIOUS_SPLITN),
185 LintId::of(methods::UNINIT_ASSUMED_INIT),
186 LintId::of(methods::UNNECESSARY_FILTER_MAP),
187 LintId::of(methods::UNNECESSARY_FOLD),
188 LintId::of(methods::UNNECESSARY_LAZY_EVALUATIONS),
189 LintId::of(methods::UNNECESSARY_TO_OWNED),
190 LintId::of(methods::UNWRAP_OR_ELSE_DEFAULT),
191 LintId::of(methods::USELESS_ASREF),
192 LintId::of(methods::WRONG_SELF_CONVENTION),
193 LintId::of(methods::ZST_OFFSET),
194 LintId::of(minmax::MIN_MAX),
195 LintId::of(misc::CMP_NAN),
196 LintId::of(misc::CMP_OWNED),
197 LintId::of(misc::MODULO_ONE),
198 LintId::of(misc::SHORT_CIRCUIT_STATEMENT),
199 LintId::of(misc::TOPLEVEL_REF_ARG),
200 LintId::of(misc::ZERO_PTR),
201 LintId::of(misc_early::BUILTIN_TYPE_SHADOW),
202 LintId::of(misc_early::DOUBLE_NEG),
203 LintId::of(misc_early::DUPLICATE_UNDERSCORE_ARGUMENT),
204 LintId::of(misc_early::MIXED_CASE_HEX_LITERALS),
205 LintId::of(misc_early::REDUNDANT_PATTERN),
206 LintId::of(misc_early::UNNEEDED_WILDCARD_PATTERN),
207 LintId::of(misc_early::ZERO_PREFIXED_LITERAL),
208 LintId::of(mut_key::MUTABLE_KEY_TYPE),
209 LintId::of(mut_mutex_lock::MUT_MUTEX_LOCK),
210 LintId::of(mut_reference::UNNECESSARY_MUT_PASSED),
211 LintId::of(needless_arbitrary_self_type::NEEDLESS_ARBITRARY_SELF_TYPE),
212 LintId::of(needless_bool::BOOL_COMPARISON),
213 LintId::of(needless_bool::NEEDLESS_BOOL),
214 LintId::of(needless_borrowed_ref::NEEDLESS_BORROWED_REFERENCE),
215 LintId::of(needless_late_init::NEEDLESS_LATE_INIT),
216 LintId::of(needless_option_as_deref::NEEDLESS_OPTION_AS_DEREF),
217 LintId::of(needless_question_mark::NEEDLESS_QUESTION_MARK),
218 LintId::of(needless_update::NEEDLESS_UPDATE),
219 LintId::of(neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD),
220 LintId::of(neg_multiply::NEG_MULTIPLY),
221 LintId::of(new_without_default::NEW_WITHOUT_DEFAULT),
222 LintId::of(no_effect::NO_EFFECT),
223 LintId::of(no_effect::UNNECESSARY_OPERATION),
224 LintId::of(non_copy_const::BORROW_INTERIOR_MUTABLE_CONST),
225 LintId::of(non_copy_const::DECLARE_INTERIOR_MUTABLE_CONST),
226 LintId::of(non_expressive_names::JUST_UNDERSCORES_AND_DIGITS),
227 LintId::of(non_octal_unix_permissions::NON_OCTAL_UNIX_PERMISSIONS),
228 LintId::of(octal_escapes::OCTAL_ESCAPES),
229 LintId::of(open_options::NONSENSICAL_OPEN_OPTIONS),
230 LintId::of(option_env_unwrap::OPTION_ENV_UNWRAP),
231 LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
232 LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
233 LintId::of(precedence::PRECEDENCE),
234 LintId::of(ptr::CMP_NULL),
235 LintId::of(ptr::INVALID_NULL_PTR_USAGE),
236 LintId::of(ptr::MUT_FROM_REF),
237 LintId::of(ptr::PTR_ARG),
238 LintId::of(ptr_eq::PTR_EQ),
239 LintId::of(ptr_offset_with_cast::PTR_OFFSET_WITH_CAST),
240 LintId::of(question_mark::QUESTION_MARK),
241 LintId::of(ranges::MANUAL_RANGE_CONTAINS),
242 LintId::of(ranges::RANGE_ZIP_WITH_LEN),
243 LintId::of(ranges::REVERSED_EMPTY_RANGES),
244 LintId::of(recursive_format_impl::RECURSIVE_FORMAT_IMPL),
245 LintId::of(redundant_clone::REDUNDANT_CLONE),
246 LintId::of(redundant_closure_call::REDUNDANT_CLOSURE_CALL),
247 LintId::of(redundant_field_names::REDUNDANT_FIELD_NAMES),
248 LintId::of(redundant_slicing::REDUNDANT_SLICING),
249 LintId::of(redundant_static_lifetimes::REDUNDANT_STATIC_LIFETIMES),
250 LintId::of(reference::DEREF_ADDROF),
251 LintId::of(regex::INVALID_REGEX),
252 LintId::of(repeat_once::REPEAT_ONCE),
253 LintId::of(returns::LET_AND_RETURN),
254 LintId::of(returns::NEEDLESS_RETURN),
255 LintId::of(self_assignment::SELF_ASSIGNMENT),
256 LintId::of(self_named_constructors::SELF_NAMED_CONSTRUCTORS),
257 LintId::of(serde_api::SERDE_API_MISUSE),
258 LintId::of(single_component_path_imports::SINGLE_COMPONENT_PATH_IMPORTS),
259 LintId::of(size_of_in_element_count::SIZE_OF_IN_ELEMENT_COUNT),
260 LintId::of(slow_vector_initialization::SLOW_VECTOR_INITIALIZATION),
261 LintId::of(stable_sort_primitive::STABLE_SORT_PRIMITIVE),
262 LintId::of(strings::STRING_FROM_UTF8_AS_BYTES),
263 LintId::of(strlen_on_c_strings::STRLEN_ON_C_STRINGS),
264 LintId::of(suspicious_trait_impl::SUSPICIOUS_ARITHMETIC_IMPL),
265 LintId::of(suspicious_trait_impl::SUSPICIOUS_OP_ASSIGN_IMPL),
266 LintId::of(swap::ALMOST_SWAPPED),
267 LintId::of(swap::MANUAL_SWAP),
268 LintId::of(tabs_in_doc_comments::TABS_IN_DOC_COMMENTS),
269 LintId::of(temporary_assignment::TEMPORARY_ASSIGNMENT),
270 LintId::of(to_digit_is_some::TO_DIGIT_IS_SOME),
271 LintId::of(transmute::CROSSPOINTER_TRANSMUTE),
272 LintId::of(transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
273 LintId::of(transmute::TRANSMUTE_BYTES_TO_STR),
274 LintId::of(transmute::TRANSMUTE_FLOAT_TO_INT),
275 LintId::of(transmute::TRANSMUTE_INT_TO_BOOL),
276 LintId::of(transmute::TRANSMUTE_INT_TO_CHAR),
277 LintId::of(transmute::TRANSMUTE_INT_TO_FLOAT),
278 LintId::of(transmute::TRANSMUTE_NUM_TO_BYTES),
279 LintId::of(transmute::TRANSMUTE_PTR_TO_REF),
280 LintId::of(transmute::TRANSMUTE_UNDEFINED_REPR),
281 LintId::of(transmute::UNSOUND_COLLECTION_TRANSMUTE),
282 LintId::of(transmute::WRONG_TRANSMUTE),
283 LintId::of(transmuting_null::TRANSMUTING_NULL),
284 LintId::of(try_err::TRY_ERR),
285 LintId::of(types::BORROWED_BOX),
286 LintId::of(types::BOX_COLLECTION),
287 LintId::of(types::REDUNDANT_ALLOCATION),
288 LintId::of(types::TYPE_COMPLEXITY),
289 LintId::of(types::VEC_BOX),
290 LintId::of(undropped_manually_drops::UNDROPPED_MANUALLY_DROPS),
291 LintId::of(unicode::INVISIBLE_CHARACTERS),
292 LintId::of(uninit_vec::UNINIT_VEC),
293 LintId::of(unit_hash::UNIT_HASH),
294 LintId::of(unit_return_expecting_ord::UNIT_RETURN_EXPECTING_ORD),
295 LintId::of(unit_types::UNIT_ARG),
296 LintId::of(unit_types::UNIT_CMP),
297 LintId::of(unnamed_address::FN_ADDRESS_COMPARISONS),
298 LintId::of(unnamed_address::VTABLE_ADDRESS_COMPARISONS),
299 LintId::of(unnecessary_sort_by::UNNECESSARY_SORT_BY),
300 LintId::of(unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME),
301 LintId::of(unused_io_amount::UNUSED_IO_AMOUNT),
302 LintId::of(unused_unit::UNUSED_UNIT),
303 LintId::of(unwrap::PANICKING_UNWRAP),
304 LintId::of(unwrap::UNNECESSARY_UNWRAP),
305 LintId::of(upper_case_acronyms::UPPER_CASE_ACRONYMS),
306 LintId::of(useless_conversion::USELESS_CONVERSION),
307 LintId::of(vec::USELESS_VEC),
308 LintId::of(vec_init_then_push::VEC_INIT_THEN_PUSH),
309 LintId::of(vec_resize_to_zero::VEC_RESIZE_TO_ZERO),
310 LintId::of(write::PRINTLN_EMPTY_STRING),
311 LintId::of(write::PRINT_LITERAL),
312 LintId::of(write::PRINT_WITH_NEWLINE),
313 LintId::of(write::WRITELN_EMPTY_STRING),
314 LintId::of(write::WRITE_LITERAL),
315 LintId::of(write::WRITE_WITH_NEWLINE),
316 LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO),