]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/lib.register_complexity.rs
Move code generated by `update_lints` to includes
[rust.git] / clippy_lints / src / lib.register_complexity.rs
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
5 store.register_group(true, "clippy::complexity", Some("clippy_complexity"), vec![
6 LintId::of(attrs::DEPRECATED_CFG_ATTR),
7 LintId::of(booleans::NONMINIMAL_BOOL),
8 LintId::of(casts::CHAR_LIT_AS_U8),
9 LintId::of(casts::UNNECESSARY_CAST),
10 LintId::of(derivable_impls::DERIVABLE_IMPLS),
11 LintId::of(double_comparison::DOUBLE_COMPARISONS),
12 LintId::of(double_parens::DOUBLE_PARENS),
13 LintId::of(duration_subsec::DURATION_SUBSEC),
14 LintId::of(eval_order_dependence::DIVERGING_SUB_EXPRESSION),
15 LintId::of(explicit_write::EXPLICIT_WRITE),
16 LintId::of(format::USELESS_FORMAT),
17 LintId::of(functions::TOO_MANY_ARGUMENTS),
18 LintId::of(get_last_with_len::GET_LAST_WITH_LEN),
19 LintId::of(identity_op::IDENTITY_OP),
20 LintId::of(int_plus_one::INT_PLUS_ONE),
21 LintId::of(lifetimes::EXTRA_UNUSED_LIFETIMES),
22 LintId::of(lifetimes::NEEDLESS_LIFETIMES),
23 LintId::of(loops::EXPLICIT_COUNTER_LOOP),
24 LintId::of(loops::MANUAL_FLATTEN),
25 LintId::of(loops::SINGLE_ELEMENT_LOOP),
26 LintId::of(loops::WHILE_LET_LOOP),
27 LintId::of(manual_strip::MANUAL_STRIP),
28 LintId::of(manual_unwrap_or::MANUAL_UNWRAP_OR),
29 LintId::of(map_unit_fn::OPTION_MAP_UNIT_FN),
30 LintId::of(map_unit_fn::RESULT_MAP_UNIT_FN),
31 LintId::of(matches::MATCH_AS_REF),
32 LintId::of(matches::MATCH_SINGLE_BINDING),
33 LintId::of(matches::WILDCARD_IN_OR_PATTERNS),
34 LintId::of(methods::BIND_INSTEAD_OF_MAP),
35 LintId::of(methods::CLONE_ON_COPY),
36 LintId::of(methods::FILTER_MAP_IDENTITY),
37 LintId::of(methods::FILTER_NEXT),
38 LintId::of(methods::FLAT_MAP_IDENTITY),
39 LintId::of(methods::INSPECT_FOR_EACH),
40 LintId::of(methods::ITER_COUNT),
41 LintId::of(methods::MANUAL_FILTER_MAP),
42 LintId::of(methods::MANUAL_FIND_MAP),
43 LintId::of(methods::MANUAL_SPLIT_ONCE),
44 LintId::of(methods::MAP_IDENTITY),
45 LintId::of(methods::OPTION_AS_REF_DEREF),
46 LintId::of(methods::OPTION_FILTER_MAP),
47 LintId::of(methods::SEARCH_IS_SOME),
48 LintId::of(methods::SKIP_WHILE_NEXT),
49 LintId::of(methods::UNNECESSARY_FILTER_MAP),
50 LintId::of(methods::USELESS_ASREF),
51 LintId::of(misc::SHORT_CIRCUIT_STATEMENT),
52 LintId::of(misc_early::UNNEEDED_WILDCARD_PATTERN),
53 LintId::of(misc_early::ZERO_PREFIXED_LITERAL),
54 LintId::of(needless_arbitrary_self_type::NEEDLESS_ARBITRARY_SELF_TYPE),
55 LintId::of(needless_bool::BOOL_COMPARISON),
56 LintId::of(needless_bool::NEEDLESS_BOOL),
57 LintId::of(needless_borrowed_ref::NEEDLESS_BORROWED_REFERENCE),
58 LintId::of(needless_option_as_deref::NEEDLESS_OPTION_AS_DEREF),
59 LintId::of(needless_question_mark::NEEDLESS_QUESTION_MARK),
60 LintId::of(needless_update::NEEDLESS_UPDATE),
61 LintId::of(neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD),
62 LintId::of(no_effect::NO_EFFECT),
63 LintId::of(no_effect::UNNECESSARY_OPERATION),
64 LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
65 LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
66 LintId::of(precedence::PRECEDENCE),
67 LintId::of(ptr_offset_with_cast::PTR_OFFSET_WITH_CAST),
68 LintId::of(ranges::RANGE_ZIP_WITH_LEN),
69 LintId::of(redundant_closure_call::REDUNDANT_CLOSURE_CALL),
70 LintId::of(redundant_slicing::REDUNDANT_SLICING),
71 LintId::of(reference::DEREF_ADDROF),
72 LintId::of(reference::REF_IN_DEREF),
73 LintId::of(repeat_once::REPEAT_ONCE),
74 LintId::of(strings::STRING_FROM_UTF8_AS_BYTES),
75 LintId::of(strlen_on_c_strings::STRLEN_ON_C_STRINGS),
76 LintId::of(swap::MANUAL_SWAP),
77 LintId::of(temporary_assignment::TEMPORARY_ASSIGNMENT),
78 LintId::of(transmute::CROSSPOINTER_TRANSMUTE),
79 LintId::of(transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
80 LintId::of(transmute::TRANSMUTE_BYTES_TO_STR),
81 LintId::of(transmute::TRANSMUTE_FLOAT_TO_INT),
82 LintId::of(transmute::TRANSMUTE_INT_TO_BOOL),
83 LintId::of(transmute::TRANSMUTE_INT_TO_CHAR),
84 LintId::of(transmute::TRANSMUTE_INT_TO_FLOAT),
85 LintId::of(transmute::TRANSMUTE_PTR_TO_REF),
86 LintId::of(types::BORROWED_BOX),
87 LintId::of(types::TYPE_COMPLEXITY),
88 LintId::of(types::VEC_BOX),
89 LintId::of(unit_types::UNIT_ARG),
90 LintId::of(unnecessary_sort_by::UNNECESSARY_SORT_BY),
91 LintId::of(unwrap::UNNECESSARY_UNWRAP),
92 LintId::of(useless_conversion::USELESS_CONVERSION),
93 LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO),
94 ])