]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/lib.register_pedantic.rs
Ignore associated items in trait *implementations* when considering type complexity
[rust.git] / clippy_lints / src / lib.register_pedantic.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::pedantic", Some("clippy_pedantic"), vec![
6     LintId::of(attrs::INLINE_ALWAYS),
7     LintId::of(await_holding_invalid::AWAIT_HOLDING_LOCK),
8     LintId::of(await_holding_invalid::AWAIT_HOLDING_REFCELL_REF),
9     LintId::of(bit_mask::VERBOSE_BIT_MASK),
10     LintId::of(bytecount::NAIVE_BYTECOUNT),
11     LintId::of(case_sensitive_file_extension_comparisons::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS),
12     LintId::of(casts::CAST_LOSSLESS),
13     LintId::of(casts::CAST_POSSIBLE_TRUNCATION),
14     LintId::of(casts::CAST_POSSIBLE_WRAP),
15     LintId::of(casts::CAST_PRECISION_LOSS),
16     LintId::of(casts::CAST_PTR_ALIGNMENT),
17     LintId::of(casts::CAST_SIGN_LOSS),
18     LintId::of(casts::PTR_AS_PTR),
19     LintId::of(checked_conversions::CHECKED_CONVERSIONS),
20     LintId::of(copies::SAME_FUNCTIONS_IN_IF_CONDITION),
21     LintId::of(copy_iterator::COPY_ITERATOR),
22     LintId::of(default::DEFAULT_TRAIT_ACCESS),
23     LintId::of(dereference::EXPLICIT_DEREF_METHODS),
24     LintId::of(dereference::REF_BINDING_TO_REFERENCE),
25     LintId::of(derive::EXPL_IMPL_CLONE_ON_COPY),
26     LintId::of(derive::UNSAFE_DERIVE_DESERIALIZE),
27     LintId::of(doc::DOC_MARKDOWN),
28     LintId::of(doc::MISSING_ERRORS_DOC),
29     LintId::of(doc::MISSING_PANICS_DOC),
30     LintId::of(empty_enum::EMPTY_ENUM),
31     LintId::of(enum_variants::MODULE_NAME_REPETITIONS),
32     LintId::of(eta_reduction::REDUNDANT_CLOSURE_FOR_METHOD_CALLS),
33     LintId::of(excessive_bools::FN_PARAMS_EXCESSIVE_BOOLS),
34     LintId::of(excessive_bools::STRUCT_EXCESSIVE_BOOLS),
35     LintId::of(functions::MUST_USE_CANDIDATE),
36     LintId::of(functions::TOO_MANY_LINES),
37     LintId::of(if_not_else::IF_NOT_ELSE),
38     LintId::of(implicit_hasher::IMPLICIT_HASHER),
39     LintId::of(implicit_saturating_sub::IMPLICIT_SATURATING_SUB),
40     LintId::of(inconsistent_struct_constructor::INCONSISTENT_STRUCT_CONSTRUCTOR),
41     LintId::of(infinite_iter::MAYBE_INFINITE_ITER),
42     LintId::of(invalid_upcast_comparisons::INVALID_UPCAST_COMPARISONS),
43     LintId::of(items_after_statements::ITEMS_AFTER_STATEMENTS),
44     LintId::of(iter_not_returning_iterator::ITER_NOT_RETURNING_ITERATOR),
45     LintId::of(large_stack_arrays::LARGE_STACK_ARRAYS),
46     LintId::of(let_underscore::LET_UNDERSCORE_DROP),
47     LintId::of(literal_representation::LARGE_DIGIT_GROUPS),
48     LintId::of(literal_representation::UNREADABLE_LITERAL),
49     LintId::of(loops::EXPLICIT_INTO_ITER_LOOP),
50     LintId::of(loops::EXPLICIT_ITER_LOOP),
51     LintId::of(macro_use::MACRO_USE_IMPORTS),
52     LintId::of(manual_assert::MANUAL_ASSERT),
53     LintId::of(manual_ok_or::MANUAL_OK_OR),
54     LintId::of(match_on_vec_items::MATCH_ON_VEC_ITEMS),
55     LintId::of(matches::MATCH_BOOL),
56     LintId::of(matches::MATCH_SAME_ARMS),
57     LintId::of(matches::MATCH_WILDCARD_FOR_SINGLE_VARIANTS),
58     LintId::of(matches::MATCH_WILD_ERR_ARM),
59     LintId::of(matches::SINGLE_MATCH_ELSE),
60     LintId::of(methods::CLONED_INSTEAD_OF_COPIED),
61     LintId::of(methods::FILTER_MAP_NEXT),
62     LintId::of(methods::FLAT_MAP_OPTION),
63     LintId::of(methods::FROM_ITER_INSTEAD_OF_COLLECT),
64     LintId::of(methods::IMPLICIT_CLONE),
65     LintId::of(methods::INEFFICIENT_TO_STRING),
66     LintId::of(methods::MAP_FLATTEN),
67     LintId::of(methods::MAP_UNWRAP_OR),
68     LintId::of(misc::FLOAT_CMP),
69     LintId::of(misc::USED_UNDERSCORE_BINDING),
70     LintId::of(mut_mut::MUT_MUT),
71     LintId::of(needless_bitwise_bool::NEEDLESS_BITWISE_BOOL),
72     LintId::of(needless_continue::NEEDLESS_CONTINUE),
73     LintId::of(needless_for_each::NEEDLESS_FOR_EACH),
74     LintId::of(needless_pass_by_value::NEEDLESS_PASS_BY_VALUE),
75     LintId::of(no_effect::NO_EFFECT_UNDERSCORE_BINDING),
76     LintId::of(non_expressive_names::MANY_SINGLE_CHAR_NAMES),
77     LintId::of(non_expressive_names::SIMILAR_NAMES),
78     LintId::of(pass_by_ref_or_value::LARGE_TYPES_PASSED_BY_VALUE),
79     LintId::of(pass_by_ref_or_value::TRIVIALLY_COPY_PASS_BY_REF),
80     LintId::of(ranges::RANGE_MINUS_ONE),
81     LintId::of(ranges::RANGE_PLUS_ONE),
82     LintId::of(redundant_else::REDUNDANT_ELSE),
83     LintId::of(ref_option_ref::REF_OPTION_REF),
84     LintId::of(semicolon_if_nothing_returned::SEMICOLON_IF_NOTHING_RETURNED),
85     LintId::of(strings::STRING_ADD_ASSIGN),
86     LintId::of(trait_bounds::TRAIT_DUPLICATION_IN_BOUNDS),
87     LintId::of(trait_bounds::TYPE_REPETITION_IN_BOUNDS),
88     LintId::of(transmute::TRANSMUTE_PTR_TO_PTR),
89     LintId::of(types::LINKEDLIST),
90     LintId::of(types::OPTION_OPTION),
91     LintId::of(unicode::UNICODE_NOT_NFC),
92     LintId::of(unit_types::LET_UNIT_VALUE),
93     LintId::of(unnecessary_wraps::UNNECESSARY_WRAPS),
94     LintId::of(unnested_or_patterns::UNNESTED_OR_PATTERNS),
95     LintId::of(unused_async::UNUSED_ASYNC),
96     LintId::of(unused_self::UNUSED_SELF),
97     LintId::of(wildcard_imports::ENUM_GLOB_USE),
98     LintId::of(wildcard_imports::WILDCARD_IMPORTS),
99     LintId::of(zero_sized_map_values::ZERO_SIZED_MAP_VALUES),
100 ])