]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/lib.register_complexity.rs
Auto merge of #95149 - cjgillot:once-diag, r=estebank
[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::NEEDLESS_MATCH),
34     LintId::of(matches::WILDCARD_IN_OR_PATTERNS),
35     LintId::of(methods::BIND_INSTEAD_OF_MAP),
36     LintId::of(methods::CLONE_ON_COPY),
37     LintId::of(methods::FILTER_MAP_IDENTITY),
38     LintId::of(methods::FILTER_NEXT),
39     LintId::of(methods::FLAT_MAP_IDENTITY),
40     LintId::of(methods::INSPECT_FOR_EACH),
41     LintId::of(methods::ITER_COUNT),
42     LintId::of(methods::MANUAL_FILTER_MAP),
43     LintId::of(methods::MANUAL_FIND_MAP),
44     LintId::of(methods::MANUAL_SPLIT_ONCE),
45     LintId::of(methods::MAP_FLATTEN),
46     LintId::of(methods::MAP_IDENTITY),
47     LintId::of(methods::NEEDLESS_SPLITN),
48     LintId::of(methods::OPTION_AS_REF_DEREF),
49     LintId::of(methods::OPTION_FILTER_MAP),
50     LintId::of(methods::OR_THEN_UNWRAP),
51     LintId::of(methods::SEARCH_IS_SOME),
52     LintId::of(methods::SKIP_WHILE_NEXT),
53     LintId::of(methods::UNNECESSARY_FILTER_MAP),
54     LintId::of(methods::UNNECESSARY_FIND_MAP),
55     LintId::of(methods::USELESS_ASREF),
56     LintId::of(misc::SHORT_CIRCUIT_STATEMENT),
57     LintId::of(misc_early::UNNEEDED_WILDCARD_PATTERN),
58     LintId::of(misc_early::ZERO_PREFIXED_LITERAL),
59     LintId::of(needless_arbitrary_self_type::NEEDLESS_ARBITRARY_SELF_TYPE),
60     LintId::of(needless_bool::BOOL_COMPARISON),
61     LintId::of(needless_bool::NEEDLESS_BOOL),
62     LintId::of(needless_borrowed_ref::NEEDLESS_BORROWED_REFERENCE),
63     LintId::of(needless_option_as_deref::NEEDLESS_OPTION_AS_DEREF),
64     LintId::of(needless_question_mark::NEEDLESS_QUESTION_MARK),
65     LintId::of(needless_update::NEEDLESS_UPDATE),
66     LintId::of(neg_cmp_op_on_partial_ord::NEG_CMP_OP_ON_PARTIAL_ORD),
67     LintId::of(no_effect::NO_EFFECT),
68     LintId::of(no_effect::UNNECESSARY_OPERATION),
69     LintId::of(only_used_in_recursion::ONLY_USED_IN_RECURSION),
70     LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
71     LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
72     LintId::of(precedence::PRECEDENCE),
73     LintId::of(ptr_offset_with_cast::PTR_OFFSET_WITH_CAST),
74     LintId::of(ranges::RANGE_ZIP_WITH_LEN),
75     LintId::of(redundant_closure_call::REDUNDANT_CLOSURE_CALL),
76     LintId::of(redundant_slicing::REDUNDANT_SLICING),
77     LintId::of(reference::DEREF_ADDROF),
78     LintId::of(repeat_once::REPEAT_ONCE),
79     LintId::of(strings::STRING_FROM_UTF8_AS_BYTES),
80     LintId::of(strlen_on_c_strings::STRLEN_ON_C_STRINGS),
81     LintId::of(swap::MANUAL_SWAP),
82     LintId::of(temporary_assignment::TEMPORARY_ASSIGNMENT),
83     LintId::of(transmute::CROSSPOINTER_TRANSMUTE),
84     LintId::of(transmute::TRANSMUTES_EXPRESSIBLE_AS_PTR_CASTS),
85     LintId::of(transmute::TRANSMUTE_BYTES_TO_STR),
86     LintId::of(transmute::TRANSMUTE_FLOAT_TO_INT),
87     LintId::of(transmute::TRANSMUTE_INT_TO_BOOL),
88     LintId::of(transmute::TRANSMUTE_INT_TO_CHAR),
89     LintId::of(transmute::TRANSMUTE_INT_TO_FLOAT),
90     LintId::of(transmute::TRANSMUTE_NUM_TO_BYTES),
91     LintId::of(transmute::TRANSMUTE_PTR_TO_REF),
92     LintId::of(types::BORROWED_BOX),
93     LintId::of(types::TYPE_COMPLEXITY),
94     LintId::of(types::VEC_BOX),
95     LintId::of(unit_types::UNIT_ARG),
96     LintId::of(unnecessary_sort_by::UNNECESSARY_SORT_BY),
97     LintId::of(unwrap::UNNECESSARY_UNWRAP),
98     LintId::of(useless_conversion::USELESS_CONVERSION),
99     LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO),
100 ])