]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/clippy_lints/src/lib.register_complexity.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / src / lib.register_complexity.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::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),
a2a8927a 44 LintId::of(methods::MAP_FLATTEN),
c295e0f8 45 LintId::of(methods::MAP_IDENTITY),
a2a8927a 46 LintId::of(methods::NEEDLESS_SPLITN),
c295e0f8
XL
47 LintId::of(methods::OPTION_AS_REF_DEREF),
48 LintId::of(methods::OPTION_FILTER_MAP),
ee023bcb 49 LintId::of(methods::OR_THEN_UNWRAP),
c295e0f8
XL
50 LintId::of(methods::SEARCH_IS_SOME),
51 LintId::of(methods::SKIP_WHILE_NEXT),
52 LintId::of(methods::UNNECESSARY_FILTER_MAP),
ee023bcb 53 LintId::of(methods::UNNECESSARY_FIND_MAP),
c295e0f8
XL
54 LintId::of(methods::USELESS_ASREF),
55 LintId::of(misc::SHORT_CIRCUIT_STATEMENT),
56 LintId::of(misc_early::UNNEEDED_WILDCARD_PATTERN),
57 LintId::of(misc_early::ZERO_PREFIXED_LITERAL),
58 LintId::of(needless_arbitrary_self_type::NEEDLESS_ARBITRARY_SELF_TYPE),
59 LintId::of(needless_bool::BOOL_COMPARISON),
60 LintId::of(needless_bool::NEEDLESS_BOOL),
61 LintId::of(needless_borrowed_ref::NEEDLESS_BORROWED_REFERENCE),
62 LintId::of(needless_option_as_deref::NEEDLESS_OPTION_AS_DEREF),
63 LintId::of(needless_question_mark::NEEDLESS_QUESTION_MARK),
64 LintId::of(needless_update::NEEDLESS_UPDATE),
65 LintId::of(neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD),
66 LintId::of(no_effect::NO_EFFECT),
67 LintId::of(no_effect::UNNECESSARY_OPERATION),
68 LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
69 LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
70 LintId::of(precedence::PRECEDENCE),
71 LintId::of(ptr_offset_with_cast::PTR_OFFSET_WITH_CAST),
72 LintId::of(ranges::RANGE_ZIP_WITH_LEN),
73 LintId::of(redundant_closure_call::REDUNDANT_CLOSURE_CALL),
74 LintId::of(redundant_slicing::REDUNDANT_SLICING),
75 LintId::of(reference::DEREF_ADDROF),
c295e0f8
XL
76 LintId::of(repeat_once::REPEAT_ONCE),
77 LintId::of(strings::STRING_FROM_UTF8_AS_BYTES),
78 LintId::of(strlen_on_c_strings::STRLEN_ON_C_STRINGS),
79 LintId::of(swap::MANUAL_SWAP),
80 LintId::of(temporary_assignment::TEMPORARY_ASSIGNMENT),
81 LintId::of(transmute::CROSSPOINTER_TRANSMUTE),
82 LintId::of(transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
83 LintId::of(transmute::TRANSMUTE_BYTES_TO_STR),
84 LintId::of(transmute::TRANSMUTE_FLOAT_TO_INT),
85 LintId::of(transmute::TRANSMUTE_INT_TO_BOOL),
86 LintId::of(transmute::TRANSMUTE_INT_TO_CHAR),
87 LintId::of(transmute::TRANSMUTE_INT_TO_FLOAT),
3c0e092e 88 LintId::of(transmute::TRANSMUTE_NUM_TO_BYTES),
c295e0f8
XL
89 LintId::of(transmute::TRANSMUTE_PTR_TO_REF),
90 LintId::of(types::BORROWED_BOX),
91 LintId::of(types::TYPE_COMPLEXITY),
92 LintId::of(types::VEC_BOX),
93 LintId::of(unit_types::UNIT_ARG),
94 LintId::of(unnecessary_sort_by::UNNECESSARY_SORT_BY),
95 LintId::of(unwrap::UNNECESSARY_UNWRAP),
96 LintId::of(useless_conversion::USELESS_CONVERSION),
97 LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO),
98])