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(blocks_in_if_conditions::BLOCKS_IN_IF_CONDITIONS),
8 LintId::of(bool_assert_comparison::BOOL_ASSERT_COMPARISON),
9 LintId::of(bool_to_int_with_if::BOOL_TO_INT_WITH_IF),
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_names::DISALLOWED_NAMES),
21 LintId::of(disallowed_types::DISALLOWED_TYPES),
22 LintId::of(doc::MISSING_SAFETY_DOC),
23 LintId::of(doc::NEEDLESS_DOCTEST_MAIN),
24 LintId::of(enum_variants::ENUM_VARIANT_NAMES),
25 LintId::of(enum_variants::MODULE_INCEPTION),
26 LintId::of(eta_reduction::REDUNDANT_CLOSURE),
27 LintId::of(float_literal::EXCESSIVE_PRECISION),
28 LintId::of(from_over_into::FROM_OVER_INTO),
29 LintId::of(from_str_radix_10::FROM_STR_RADIX_10),
30 LintId::of(functions::DOUBLE_MUST_USE),
31 LintId::of(functions::MUST_USE_UNIT),
32 LintId::of(functions::RESULT_UNIT_ERR),
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(match_result_ok::MATCH_RESULT_OK),
49 LintId::of(matches::COLLAPSIBLE_MATCH),
50 LintId::of(matches::INFALLIBLE_DESTRUCTURING_MATCH),
51 LintId::of(matches::MANUAL_MAP),
52 LintId::of(matches::MATCH_LIKE_MATCHES_MACRO),
53 LintId::of(matches::MATCH_OVERLAPPING_ARM),
54 LintId::of(matches::MATCH_REF_PATS),
55 LintId::of(matches::REDUNDANT_PATTERN_MATCHING),
56 LintId::of(matches::SINGLE_MATCH),
57 LintId::of(mem_replace::MEM_REPLACE_OPTION_WITH_NONE),
58 LintId::of(mem_replace::MEM_REPLACE_WITH_DEFAULT),
59 LintId::of(methods::BYTES_NTH),
60 LintId::of(methods::CHARS_LAST_CMP),
61 LintId::of(methods::CHARS_NEXT_CMP),
62 LintId::of(methods::ERR_EXPECT),
63 LintId::of(methods::GET_FIRST),
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_CLONE),
72 LintId::of(methods::MAP_COLLECT_RESULT_UNIT),
73 LintId::of(methods::MUT_MUTEX_LOCK),
74 LintId::of(methods::NEW_RET_NO_SELF),
75 LintId::of(methods::OBFUSCATED_IF_ELSE),
76 LintId::of(methods::OK_EXPECT),
77 LintId::of(methods::OPTION_MAP_OR_NONE),
78 LintId::of(methods::RESULT_MAP_OR_INTO_OPTION),
79 LintId::of(methods::SHOULD_IMPLEMENT_TRAIT),
80 LintId::of(methods::SINGLE_CHAR_ADD_STR),
81 LintId::of(methods::STRING_EXTEND_CHARS),
82 LintId::of(methods::UNNECESSARY_FOLD),
83 LintId::of(methods::UNNECESSARY_LAZY_EVALUATIONS),
84 LintId::of(methods::UNWRAP_OR_ELSE_DEFAULT),
85 LintId::of(methods::WRONG_SELF_CONVENTION),
86 LintId::of(misc::TOPLEVEL_REF_ARG),
87 LintId::of(misc::ZERO_PTR),
88 LintId::of(misc_early::BUILTIN_TYPE_SHADOW),
89 LintId::of(misc_early::DOUBLE_NEG),
90 LintId::of(misc_early::DUPLICATE_UNDERSCORE_ARGUMENT),
91 LintId::of(misc_early::MIXED_CASE_HEX_LITERALS),
92 LintId::of(misc_early::REDUNDANT_PATTERN),
93 LintId::of(mut_reference::UNNECESSARY_MUT_PASSED),
94 LintId::of(needless_late_init::NEEDLESS_LATE_INIT),
95 LintId::of(needless_parens_on_range_literals::NEEDLESS_PARENS_ON_RANGE_LITERALS),
96 LintId::of(neg_multiply::NEG_MULTIPLY),
97 LintId::of(new_without_default::NEW_WITHOUT_DEFAULT),
98 LintId::of(non_copy_const::BORROW_INTERIOR_MUTABLE_CONST),
99 LintId::of(non_copy_const::DECLARE_INTERIOR_MUTABLE_CONST),
100 LintId::of(non_expressive_names::JUST_UNDERSCORES_AND_DIGITS),
101 LintId::of(operators::ASSIGN_OP_PATTERN),
102 LintId::of(operators::OP_REF),
103 LintId::of(operators::PTR_EQ),
104 LintId::of(partialeq_to_none::PARTIALEQ_TO_NONE),
105 LintId::of(ptr::CMP_NULL),
106 LintId::of(ptr::PTR_ARG),
107 LintId::of(question_mark::QUESTION_MARK),
108 LintId::of(ranges::MANUAL_RANGE_CONTAINS),
109 LintId::of(redundant_field_names::REDUNDANT_FIELD_NAMES),
110 LintId::of(redundant_static_lifetimes::REDUNDANT_STATIC_LIFETIMES),
111 LintId::of(returns::LET_AND_RETURN),
112 LintId::of(returns::NEEDLESS_RETURN),
113 LintId::of(self_named_constructors::SELF_NAMED_CONSTRUCTORS),
114 LintId::of(single_component_path_imports::SINGLE_COMPONENT_PATH_IMPORTS),
115 LintId::of(strings::TRIM_SPLIT_WHITESPACE),
116 LintId::of(tabs_in_doc_comments::TABS_IN_DOC_COMMENTS),
117 LintId::of(to_digit_is_some::TO_DIGIT_IS_SOME),
118 LintId::of(unit_types::LET_UNIT_VALUE),
119 LintId::of(unnecessary_owned_empty_strings::UNNECESSARY_OWNED_EMPTY_STRINGS),
120 LintId::of(unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME),
121 LintId::of(unused_unit::UNUSED_UNIT),
122 LintId::of(upper_case_acronyms::UPPER_CASE_ACRONYMS),
123 LintId::of(write::PRINTLN_EMPTY_STRING),
124 LintId::of(write::PRINT_LITERAL),
125 LintId::of(write::PRINT_WITH_NEWLINE),
126 LintId::of(write::WRITELN_EMPTY_STRING),
127 LintId::of(write::WRITE_LITERAL),
128 LintId::of(write::WRITE_WITH_NEWLINE),