]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/clippy_lints/src/lib.register_all.rs
New upstream version 1.65.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / src / lib.register_all.rs
CommitLineData
c295e0f8
XL
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.
4
5store.register_group(true, "clippy::all", Some("clippy_all"), vec![
923072b8 6 LintId::of(almost_complete_letter_range::ALMOST_COMPLETE_LETTER_RANGE),
c295e0f8
XL
7 LintId::of(approx_const::APPROX_CONSTANT),
8 LintId::of(assertions_on_constants::ASSERTIONS_ON_CONSTANTS),
c295e0f8
XL
9 LintId::of(async_yields_async::ASYNC_YIELDS_ASYNC),
10 LintId::of(attrs::BLANKET_CLIPPY_RESTRICTION_LINTS),
11 LintId::of(attrs::DEPRECATED_CFG_ATTR),
12 LintId::of(attrs::DEPRECATED_SEMVER),
13 LintId::of(attrs::MISMATCHED_TARGET_OS),
14 LintId::of(attrs::USELESS_ATTRIBUTE),
04454e1e 15 LintId::of(await_holding_invalid::AWAIT_HOLDING_INVALID_TYPE),
5e7ed085
FG
16 LintId::of(await_holding_invalid::AWAIT_HOLDING_LOCK),
17 LintId::of(await_holding_invalid::AWAIT_HOLDING_REFCELL_REF),
c295e0f8
XL
18 LintId::of(blocks_in_if_conditions::BLOCKS_IN_IF_CONDITIONS),
19 LintId::of(bool_assert_comparison::BOOL_ASSERT_COMPARISON),
f2b60f7d 20 LintId::of(bool_to_int_with_if::BOOL_TO_INT_WITH_IF),
c295e0f8 21 LintId::of(booleans::NONMINIMAL_BOOL),
f2b60f7d 22 LintId::of(booleans::OVERLY_COMPLEX_BOOL_EXPR),
923072b8 23 LintId::of(borrow_deref_ref::BORROW_DEREF_REF),
04454e1e 24 LintId::of(casts::CAST_ABS_TO_UNSIGNED),
5e7ed085
FG
25 LintId::of(casts::CAST_ENUM_CONSTRUCTOR),
26 LintId::of(casts::CAST_ENUM_TRUNCATION),
c295e0f8 27 LintId::of(casts::CAST_REF_TO_MUT),
5e7ed085 28 LintId::of(casts::CAST_SLICE_DIFFERENT_SIZES),
f2b60f7d 29 LintId::of(casts::CAST_SLICE_FROM_RAW_PARTS),
c295e0f8
XL
30 LintId::of(casts::CHAR_LIT_AS_U8),
31 LintId::of(casts::FN_TO_NUMERIC_CAST),
32 LintId::of(casts::FN_TO_NUMERIC_CAST_WITH_TRUNCATION),
33 LintId::of(casts::UNNECESSARY_CAST),
34 LintId::of(collapsible_if::COLLAPSIBLE_ELSE_IF),
35 LintId::of(collapsible_if::COLLAPSIBLE_IF),
c295e0f8
XL
36 LintId::of(comparison_chain::COMPARISON_CHAIN),
37 LintId::of(copies::IFS_SAME_COND),
38 LintId::of(copies::IF_SAME_THEN_ELSE),
04454e1e 39 LintId::of(crate_in_macro_def::CRATE_IN_MACRO_DEF),
c295e0f8 40 LintId::of(default::FIELD_REASSIGN_WITH_DEFAULT),
064997fb 41 LintId::of(default_instead_of_iter_empty::DEFAULT_INSTEAD_OF_ITER_EMPTY),
f2b60f7d 42 LintId::of(dereference::EXPLICIT_AUTO_DEREF),
a2a8927a 43 LintId::of(dereference::NEEDLESS_BORROW),
c295e0f8
XL
44 LintId::of(derivable_impls::DERIVABLE_IMPLS),
45 LintId::of(derive::DERIVE_HASH_XOR_EQ),
46 LintId::of(derive::DERIVE_ORD_XOR_PARTIAL_ORD),
923072b8 47 LintId::of(derive::DERIVE_PARTIAL_EQ_WITHOUT_EQ),
5099ac24 48 LintId::of(disallowed_methods::DISALLOWED_METHODS),
f2b60f7d 49 LintId::of(disallowed_names::DISALLOWED_NAMES),
5099ac24 50 LintId::of(disallowed_types::DISALLOWED_TYPES),
c295e0f8
XL
51 LintId::of(doc::MISSING_SAFETY_DOC),
52 LintId::of(doc::NEEDLESS_DOCTEST_MAIN),
c295e0f8
XL
53 LintId::of(double_parens::DOUBLE_PARENS),
54 LintId::of(drop_forget_ref::DROP_COPY),
04454e1e 55 LintId::of(drop_forget_ref::DROP_NON_DROP),
c295e0f8
XL
56 LintId::of(drop_forget_ref::DROP_REF),
57 LintId::of(drop_forget_ref::FORGET_COPY),
04454e1e 58 LintId::of(drop_forget_ref::FORGET_NON_DROP),
c295e0f8 59 LintId::of(drop_forget_ref::FORGET_REF),
04454e1e 60 LintId::of(drop_forget_ref::UNDROPPED_MANUALLY_DROPS),
923072b8 61 LintId::of(duplicate_mod::DUPLICATE_MOD),
c295e0f8
XL
62 LintId::of(entry::MAP_ENTRY),
63 LintId::of(enum_clike::ENUM_CLIKE_UNPORTABLE_VARIANT),
64 LintId::of(enum_variants::ENUM_VARIANT_NAMES),
65 LintId::of(enum_variants::MODULE_INCEPTION),
c295e0f8
XL
66 LintId::of(escape::BOXED_LOCAL),
67 LintId::of(eta_reduction::REDUNDANT_CLOSURE),
c295e0f8 68 LintId::of(explicit_write::EXPLICIT_WRITE),
c295e0f8
XL
69 LintId::of(float_literal::EXCESSIVE_PRECISION),
70 LintId::of(format::USELESS_FORMAT),
3c0e092e
XL
71 LintId::of(format_args::FORMAT_IN_FORMAT_ARGS),
72 LintId::of(format_args::TO_STRING_IN_FORMAT_ARGS),
5e7ed085
FG
73 LintId::of(format_impl::PRINT_IN_FORMAT_IMPL),
74 LintId::of(format_impl::RECURSIVE_FORMAT_IMPL),
c295e0f8
XL
75 LintId::of(formatting::POSSIBLE_MISSING_COMMA),
76 LintId::of(formatting::SUSPICIOUS_ASSIGNMENT_FORMATTING),
77 LintId::of(formatting::SUSPICIOUS_ELSE_FORMATTING),
78 LintId::of(formatting::SUSPICIOUS_UNARY_OP_FORMATTING),
79 LintId::of(from_over_into::FROM_OVER_INTO),
80 LintId::of(from_str_radix_10::FROM_STR_RADIX_10),
81 LintId::of(functions::DOUBLE_MUST_USE),
82 LintId::of(functions::MUST_USE_UNIT),
83 LintId::of(functions::NOT_UNSAFE_PTR_ARG_DEREF),
f2b60f7d 84 LintId::of(functions::RESULT_LARGE_ERR),
c295e0f8
XL
85 LintId::of(functions::RESULT_UNIT_ERR),
86 LintId::of(functions::TOO_MANY_ARGUMENTS),
c295e0f8
XL
87 LintId::of(if_let_mutex::IF_LET_MUTEX),
88 LintId::of(indexing_slicing::OUT_OF_BOUNDS_INDEXING),
89 LintId::of(infinite_iter::INFINITE_ITER),
90 LintId::of(inherent_to_string::INHERENT_TO_STRING),
91 LintId::of(inherent_to_string::INHERENT_TO_STRING_SHADOW_DISPLAY),
a2a8927a 92 LintId::of(init_numbered_fields::INIT_NUMBERED_FIELDS),
c295e0f8
XL
93 LintId::of(inline_fn_without_body::INLINE_FN_WITHOUT_BODY),
94 LintId::of(int_plus_one::INT_PLUS_ONE),
064997fb 95 LintId::of(invalid_utf8_in_unchecked::INVALID_UTF8_IN_UNCHECKED),
c295e0f8
XL
96 LintId::of(large_const_arrays::LARGE_CONST_ARRAYS),
97 LintId::of(large_enum_variant::LARGE_ENUM_VARIANT),
98 LintId::of(len_zero::COMPARISON_TO_EMPTY),
99 LintId::of(len_zero::LEN_WITHOUT_IS_EMPTY),
100 LintId::of(len_zero::LEN_ZERO),
101 LintId::of(let_underscore::LET_UNDERSCORE_LOCK),
102 LintId::of(lifetimes::EXTRA_UNUSED_LIFETIMES),
103 LintId::of(lifetimes::NEEDLESS_LIFETIMES),
104 LintId::of(literal_representation::INCONSISTENT_DIGIT_GROUPING),
105 LintId::of(literal_representation::MISTYPED_LITERAL_SUFFIXES),
106 LintId::of(literal_representation::UNUSUAL_BYTE_GROUPINGS),
107 LintId::of(loops::EMPTY_LOOP),
108 LintId::of(loops::EXPLICIT_COUNTER_LOOP),
109 LintId::of(loops::FOR_KV_MAP),
110 LintId::of(loops::FOR_LOOPS_OVER_FALLIBLES),
111 LintId::of(loops::ITER_NEXT_LOOP),
064997fb 112 LintId::of(loops::MANUAL_FIND),
c295e0f8
XL
113 LintId::of(loops::MANUAL_FLATTEN),
114 LintId::of(loops::MANUAL_MEMCPY),
5e7ed085 115 LintId::of(loops::MISSING_SPIN_LOOP),
c295e0f8
XL
116 LintId::of(loops::MUT_RANGE_BOUND),
117 LintId::of(loops::NEEDLESS_COLLECT),
118 LintId::of(loops::NEEDLESS_RANGE_LOOP),
119 LintId::of(loops::NEVER_LOOP),
120 LintId::of(loops::SAME_ITEM_PUSH),
121 LintId::of(loops::SINGLE_ELEMENT_LOOP),
122 LintId::of(loops::WHILE_IMMUTABLE_CONDITION),
123 LintId::of(loops::WHILE_LET_LOOP),
124 LintId::of(loops::WHILE_LET_ON_ITERATOR),
125 LintId::of(main_recursion::MAIN_RECURSION),
126 LintId::of(manual_async_fn::MANUAL_ASYNC_FN),
5099ac24 127 LintId::of(manual_bits::MANUAL_BITS),
c295e0f8 128 LintId::of(manual_non_exhaustive::MANUAL_NON_EXHAUSTIVE),
064997fb
FG
129 LintId::of(manual_rem_euclid::MANUAL_REM_EUCLID),
130 LintId::of(manual_retain::MANUAL_RETAIN),
c295e0f8 131 LintId::of(manual_strip::MANUAL_STRIP),
c295e0f8
XL
132 LintId::of(map_unit_fn::OPTION_MAP_UNIT_FN),
133 LintId::of(map_unit_fn::RESULT_MAP_UNIT_FN),
134 LintId::of(match_result_ok::MATCH_RESULT_OK),
923072b8 135 LintId::of(matches::COLLAPSIBLE_MATCH),
c295e0f8 136 LintId::of(matches::INFALLIBLE_DESTRUCTURING_MATCH),
923072b8
FG
137 LintId::of(matches::MANUAL_MAP),
138 LintId::of(matches::MANUAL_UNWRAP_OR),
c295e0f8
XL
139 LintId::of(matches::MATCH_AS_REF),
140 LintId::of(matches::MATCH_LIKE_MATCHES_MACRO),
141 LintId::of(matches::MATCH_OVERLAPPING_ARM),
142 LintId::of(matches::MATCH_REF_PATS),
143 LintId::of(matches::MATCH_SINGLE_BINDING),
923072b8 144 LintId::of(matches::MATCH_STR_CASE_MISMATCH),
04454e1e 145 LintId::of(matches::NEEDLESS_MATCH),
c295e0f8
XL
146 LintId::of(matches::REDUNDANT_PATTERN_MATCHING),
147 LintId::of(matches::SINGLE_MATCH),
148 LintId::of(matches::WILDCARD_IN_OR_PATTERNS),
149 LintId::of(mem_replace::MEM_REPLACE_OPTION_WITH_NONE),
150 LintId::of(mem_replace::MEM_REPLACE_WITH_DEFAULT),
151 LintId::of(mem_replace::MEM_REPLACE_WITH_UNINIT),
152 LintId::of(methods::BIND_INSTEAD_OF_MAP),
f2b60f7d 153 LintId::of(methods::BYTES_COUNT_TO_LEN),
c295e0f8
XL
154 LintId::of(methods::BYTES_NTH),
155 LintId::of(methods::CHARS_LAST_CMP),
156 LintId::of(methods::CHARS_NEXT_CMP),
157 LintId::of(methods::CLONE_DOUBLE_REF),
158 LintId::of(methods::CLONE_ON_COPY),
f2b60f7d 159 LintId::of(methods::COLLAPSIBLE_STR_REPLACE),
04454e1e 160 LintId::of(methods::ERR_EXPECT),
c295e0f8
XL
161 LintId::of(methods::EXPECT_FUN_CALL),
162 LintId::of(methods::EXTEND_WITH_DRAIN),
163 LintId::of(methods::FILTER_MAP_IDENTITY),
164 LintId::of(methods::FILTER_NEXT),
165 LintId::of(methods::FLAT_MAP_IDENTITY),
f2b60f7d 166 LintId::of(methods::GET_FIRST),
923072b8 167 LintId::of(methods::GET_LAST_WITH_LEN),
c295e0f8
XL
168 LintId::of(methods::INSPECT_FOR_EACH),
169 LintId::of(methods::INTO_ITER_ON_REF),
04454e1e 170 LintId::of(methods::IS_DIGIT_ASCII_RADIX),
c295e0f8
XL
171 LintId::of(methods::ITERATOR_STEP_BY_ZERO),
172 LintId::of(methods::ITER_CLONED_COLLECT),
173 LintId::of(methods::ITER_COUNT),
174 LintId::of(methods::ITER_NEXT_SLICE),
175 LintId::of(methods::ITER_NTH),
176 LintId::of(methods::ITER_NTH_ZERO),
5099ac24 177 LintId::of(methods::ITER_OVEREAGER_CLONED),
c295e0f8
XL
178 LintId::of(methods::ITER_SKIP_NEXT),
179 LintId::of(methods::MANUAL_FILTER_MAP),
180 LintId::of(methods::MANUAL_FIND_MAP),
181 LintId::of(methods::MANUAL_SATURATING_ARITHMETIC),
182 LintId::of(methods::MANUAL_SPLIT_ONCE),
183 LintId::of(methods::MANUAL_STR_REPEAT),
f2b60f7d 184 LintId::of(methods::MAP_CLONE),
c295e0f8 185 LintId::of(methods::MAP_COLLECT_RESULT_UNIT),
a2a8927a 186 LintId::of(methods::MAP_FLATTEN),
c295e0f8 187 LintId::of(methods::MAP_IDENTITY),
f2b60f7d 188 LintId::of(methods::MUT_MUTEX_LOCK),
04454e1e
FG
189 LintId::of(methods::NEEDLESS_OPTION_AS_DEREF),
190 LintId::of(methods::NEEDLESS_OPTION_TAKE),
a2a8927a 191 LintId::of(methods::NEEDLESS_SPLITN),
c295e0f8 192 LintId::of(methods::NEW_RET_NO_SELF),
f2b60f7d 193 LintId::of(methods::NONSENSICAL_OPEN_OPTIONS),
923072b8 194 LintId::of(methods::NO_EFFECT_REPLACE),
064997fb 195 LintId::of(methods::OBFUSCATED_IF_ELSE),
c295e0f8
XL
196 LintId::of(methods::OK_EXPECT),
197 LintId::of(methods::OPTION_AS_REF_DEREF),
198 LintId::of(methods::OPTION_FILTER_MAP),
199 LintId::of(methods::OPTION_MAP_OR_NONE),
200 LintId::of(methods::OR_FUN_CALL),
5e7ed085 201 LintId::of(methods::OR_THEN_UNWRAP),
f2b60f7d
FG
202 LintId::of(methods::RANGE_ZIP_WITH_LEN),
203 LintId::of(methods::REPEAT_ONCE),
c295e0f8
XL
204 LintId::of(methods::RESULT_MAP_OR_INTO_OPTION),
205 LintId::of(methods::SEARCH_IS_SOME),
206 LintId::of(methods::SHOULD_IMPLEMENT_TRAIT),
207 LintId::of(methods::SINGLE_CHAR_ADD_STR),
208 LintId::of(methods::SINGLE_CHAR_PATTERN),
209 LintId::of(methods::SKIP_WHILE_NEXT),
210 LintId::of(methods::STRING_EXTEND_CHARS),
211 LintId::of(methods::SUSPICIOUS_MAP),
212 LintId::of(methods::SUSPICIOUS_SPLITN),
f2b60f7d 213 LintId::of(methods::SUSPICIOUS_TO_OWNED),
c295e0f8 214 LintId::of(methods::UNINIT_ASSUMED_INIT),
f2b60f7d 215 LintId::of(methods::UNIT_HASH),
c295e0f8 216 LintId::of(methods::UNNECESSARY_FILTER_MAP),
5e7ed085 217 LintId::of(methods::UNNECESSARY_FIND_MAP),
c295e0f8
XL
218 LintId::of(methods::UNNECESSARY_FOLD),
219 LintId::of(methods::UNNECESSARY_LAZY_EVALUATIONS),
f2b60f7d 220 LintId::of(methods::UNNECESSARY_SORT_BY),
a2a8927a 221 LintId::of(methods::UNNECESSARY_TO_OWNED),
c295e0f8
XL
222 LintId::of(methods::UNWRAP_OR_ELSE_DEFAULT),
223 LintId::of(methods::USELESS_ASREF),
f2b60f7d 224 LintId::of(methods::VEC_RESIZE_TO_ZERO),
c295e0f8
XL
225 LintId::of(methods::WRONG_SELF_CONVENTION),
226 LintId::of(methods::ZST_OFFSET),
227 LintId::of(minmax::MIN_MAX),
c295e0f8
XL
228 LintId::of(misc::SHORT_CIRCUIT_STATEMENT),
229 LintId::of(misc::TOPLEVEL_REF_ARG),
230 LintId::of(misc::ZERO_PTR),
231 LintId::of(misc_early::BUILTIN_TYPE_SHADOW),
232 LintId::of(misc_early::DOUBLE_NEG),
233 LintId::of(misc_early::DUPLICATE_UNDERSCORE_ARGUMENT),
234 LintId::of(misc_early::MIXED_CASE_HEX_LITERALS),
235 LintId::of(misc_early::REDUNDANT_PATTERN),
236 LintId::of(misc_early::UNNEEDED_WILDCARD_PATTERN),
237 LintId::of(misc_early::ZERO_PREFIXED_LITERAL),
923072b8 238 LintId::of(mixed_read_write_in_expression::DIVERGING_SUB_EXPRESSION),
f2b60f7d 239 LintId::of(multi_assignments::MULTI_ASSIGNMENTS),
c295e0f8 240 LintId::of(mut_key::MUTABLE_KEY_TYPE),
c295e0f8 241 LintId::of(mut_reference::UNNECESSARY_MUT_PASSED),
c295e0f8
XL
242 LintId::of(needless_arbitrary_self_type::NEEDLESS_ARBITRARY_SELF_TYPE),
243 LintId::of(needless_bool::BOOL_COMPARISON),
244 LintId::of(needless_bool::NEEDLESS_BOOL),
c295e0f8 245 LintId::of(needless_borrowed_ref::NEEDLESS_BORROWED_REFERENCE),
a2a8927a 246 LintId::of(needless_late_init::NEEDLESS_LATE_INIT),
923072b8 247 LintId::of(needless_parens_on_range_literals::NEEDLESS_PARENS_ON_RANGE_LITERALS),
c295e0f8
XL
248 LintId::of(needless_question_mark::NEEDLESS_QUESTION_MARK),
249 LintId::of(needless_update::NEEDLESS_UPDATE),
250 LintId::of(neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD),
251 LintId::of(neg_multiply::NEG_MULTIPLY),
252 LintId::of(new_without_default::NEW_WITHOUT_DEFAULT),
253 LintId::of(no_effect::NO_EFFECT),
254 LintId::of(no_effect::UNNECESSARY_OPERATION),
255 LintId::of(non_copy_const::BORROW_INTERIOR_MUTABLE_CONST),
256 LintId::of(non_copy_const::DECLARE_INTERIOR_MUTABLE_CONST),
257 LintId::of(non_expressive_names::JUST_UNDERSCORES_AND_DIGITS),
258 LintId::of(non_octal_unix_permissions::NON_OCTAL_UNIX_PERMISSIONS),
a2a8927a 259 LintId::of(octal_escapes::OCTAL_ESCAPES),
f2b60f7d 260 LintId::of(only_used_in_recursion::ONLY_USED_IN_RECURSION),
064997fb
FG
261 LintId::of(operators::ABSURD_EXTREME_COMPARISONS),
262 LintId::of(operators::ASSIGN_OP_PATTERN),
263 LintId::of(operators::BAD_BIT_MASK),
264 LintId::of(operators::CMP_NAN),
265 LintId::of(operators::CMP_OWNED),
266 LintId::of(operators::DOUBLE_COMPARISONS),
267 LintId::of(operators::DURATION_SUBSEC),
268 LintId::of(operators::EQ_OP),
269 LintId::of(operators::ERASING_OP),
270 LintId::of(operators::FLOAT_EQUALITY_WITHOUT_ABS),
271 LintId::of(operators::IDENTITY_OP),
272 LintId::of(operators::INEFFECTIVE_BIT_MASK),
273 LintId::of(operators::MISREFACTORED_ASSIGN_OP),
274 LintId::of(operators::MODULO_ONE),
275 LintId::of(operators::OP_REF),
276 LintId::of(operators::PTR_EQ),
277 LintId::of(operators::SELF_ASSIGNMENT),
c295e0f8
XL
278 LintId::of(option_env_unwrap::OPTION_ENV_UNWRAP),
279 LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
280 LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
f2b60f7d 281 LintId::of(partialeq_to_none::PARTIALEQ_TO_NONE),
c295e0f8
XL
282 LintId::of(precedence::PRECEDENCE),
283 LintId::of(ptr::CMP_NULL),
284 LintId::of(ptr::INVALID_NULL_PTR_USAGE),
285 LintId::of(ptr::MUT_FROM_REF),
286 LintId::of(ptr::PTR_ARG),
c295e0f8
XL
287 LintId::of(ptr_offset_with_cast::PTR_OFFSET_WITH_CAST),
288 LintId::of(question_mark::QUESTION_MARK),
289 LintId::of(ranges::MANUAL_RANGE_CONTAINS),
c295e0f8 290 LintId::of(ranges::REVERSED_EMPTY_RANGES),
923072b8 291 LintId::of(rc_clone_in_vec_init::RC_CLONE_IN_VEC_INIT),
c295e0f8
XL
292 LintId::of(redundant_clone::REDUNDANT_CLONE),
293 LintId::of(redundant_closure_call::REDUNDANT_CLOSURE_CALL),
294 LintId::of(redundant_field_names::REDUNDANT_FIELD_NAMES),
295 LintId::of(redundant_slicing::REDUNDANT_SLICING),
296 LintId::of(redundant_static_lifetimes::REDUNDANT_STATIC_LIFETIMES),
297 LintId::of(reference::DEREF_ADDROF),
c295e0f8 298 LintId::of(regex::INVALID_REGEX),
c295e0f8
XL
299 LintId::of(returns::LET_AND_RETURN),
300 LintId::of(returns::NEEDLESS_RETURN),
c295e0f8
XL
301 LintId::of(self_named_constructors::SELF_NAMED_CONSTRUCTORS),
302 LintId::of(serde_api::SERDE_API_MISUSE),
303 LintId::of(single_component_path_imports::SINGLE_COMPONENT_PATH_IMPORTS),
304 LintId::of(size_of_in_element_count::SIZE_OF_IN_ELEMENT_COUNT),
305 LintId::of(slow_vector_initialization::SLOW_VECTOR_INITIALIZATION),
c295e0f8 306 LintId::of(strings::STRING_FROM_UTF8_AS_BYTES),
04454e1e 307 LintId::of(strings::TRIM_SPLIT_WHITESPACE),
c295e0f8
XL
308 LintId::of(strlen_on_c_strings::STRLEN_ON_C_STRINGS),
309 LintId::of(suspicious_trait_impl::SUSPICIOUS_ARITHMETIC_IMPL),
310 LintId::of(suspicious_trait_impl::SUSPICIOUS_OP_ASSIGN_IMPL),
311 LintId::of(swap::ALMOST_SWAPPED),
312 LintId::of(swap::MANUAL_SWAP),
923072b8 313 LintId::of(swap_ptr_to_ref::SWAP_PTR_TO_REF),
c295e0f8
XL
314 LintId::of(tabs_in_doc_comments::TABS_IN_DOC_COMMENTS),
315 LintId::of(temporary_assignment::TEMPORARY_ASSIGNMENT),
316 LintId::of(to_digit_is_some::TO_DIGIT_IS_SOME),
c295e0f8
XL
317 LintId::of(transmute::CROSSPOINTER_TRANSMUTE),
318 LintId::of(transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
319 LintId::of(transmute::TRANSMUTE_BYTES_TO_STR),
320 LintId::of(transmute::TRANSMUTE_FLOAT_TO_INT),
321 LintId::of(transmute::TRANSMUTE_INT_TO_BOOL),
322 LintId::of(transmute::TRANSMUTE_INT_TO_CHAR),
323 LintId::of(transmute::TRANSMUTE_INT_TO_FLOAT),
3c0e092e 324 LintId::of(transmute::TRANSMUTE_NUM_TO_BYTES),
c295e0f8 325 LintId::of(transmute::TRANSMUTE_PTR_TO_REF),
f2b60f7d 326 LintId::of(transmute::TRANSMUTING_NULL),
c295e0f8 327 LintId::of(transmute::UNSOUND_COLLECTION_TRANSMUTE),
923072b8 328 LintId::of(transmute::USELESS_TRANSMUTE),
c295e0f8 329 LintId::of(transmute::WRONG_TRANSMUTE),
c295e0f8
XL
330 LintId::of(types::BORROWED_BOX),
331 LintId::of(types::BOX_COLLECTION),
332 LintId::of(types::REDUNDANT_ALLOCATION),
333 LintId::of(types::TYPE_COMPLEXITY),
334 LintId::of(types::VEC_BOX),
c295e0f8 335 LintId::of(unicode::INVISIBLE_CHARACTERS),
3c0e092e 336 LintId::of(uninit_vec::UNINIT_VEC),
c295e0f8 337 LintId::of(unit_return_expecting_ord::UNIT_RETURN_EXPECTING_ORD),
04454e1e 338 LintId::of(unit_types::LET_UNIT_VALUE),
c295e0f8
XL
339 LintId::of(unit_types::UNIT_ARG),
340 LintId::of(unit_types::UNIT_CMP),
341 LintId::of(unnamed_address::FN_ADDRESS_COMPARISONS),
342 LintId::of(unnamed_address::VTABLE_ADDRESS_COMPARISONS),
04454e1e 343 LintId::of(unnecessary_owned_empty_strings::UNNECESSARY_OWNED_EMPTY_STRINGS),
c295e0f8
XL
344 LintId::of(unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME),
345 LintId::of(unused_io_amount::UNUSED_IO_AMOUNT),
346 LintId::of(unused_unit::UNUSED_UNIT),
347 LintId::of(unwrap::PANICKING_UNWRAP),
348 LintId::of(unwrap::UNNECESSARY_UNWRAP),
349 LintId::of(upper_case_acronyms::UPPER_CASE_ACRONYMS),
350 LintId::of(useless_conversion::USELESS_CONVERSION),
351 LintId::of(vec::USELESS_VEC),
352 LintId::of(vec_init_then_push::VEC_INIT_THEN_PUSH),
f2b60f7d 353 LintId::of(write::POSITIONAL_NAMED_FORMAT_PARAMETERS),
c295e0f8
XL
354 LintId::of(write::PRINTLN_EMPTY_STRING),
355 LintId::of(write::PRINT_LITERAL),
356 LintId::of(write::PRINT_WITH_NEWLINE),
357 LintId::of(write::WRITELN_EMPTY_STRING),
358 LintId::of(write::WRITE_LITERAL),
359 LintId::of(write::WRITE_WITH_NEWLINE),
360 LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO),
361])