]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/clippy_lints/src/lib.register_pedantic.rs
Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup
[rust.git] / src / tools / clippy / 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(casts::BORROW_AS_PTR),
8     LintId::of(casts::CAST_LOSSLESS),
9     LintId::of(casts::CAST_POSSIBLE_TRUNCATION),
10     LintId::of(casts::CAST_POSSIBLE_WRAP),
11     LintId::of(casts::CAST_PRECISION_LOSS),
12     LintId::of(casts::CAST_PTR_ALIGNMENT),
13     LintId::of(casts::CAST_SIGN_LOSS),
14     LintId::of(casts::PTR_AS_PTR),
15     LintId::of(checked_conversions::CHECKED_CONVERSIONS),
16     LintId::of(copies::SAME_FUNCTIONS_IN_IF_CONDITION),
17     LintId::of(copy_iterator::COPY_ITERATOR),
18     LintId::of(default::DEFAULT_TRAIT_ACCESS),
19     LintId::of(dereference::EXPLICIT_DEREF_METHODS),
20     LintId::of(dereference::REF_BINDING_TO_REFERENCE),
21     LintId::of(derive::EXPL_IMPL_CLONE_ON_COPY),
22     LintId::of(derive::UNSAFE_DERIVE_DESERIALIZE),
23     LintId::of(doc::DOC_LINK_WITH_QUOTES),
24     LintId::of(doc::DOC_MARKDOWN),
25     LintId::of(doc::MISSING_ERRORS_DOC),
26     LintId::of(doc::MISSING_PANICS_DOC),
27     LintId::of(empty_enum::EMPTY_ENUM),
28     LintId::of(enum_variants::MODULE_NAME_REPETITIONS),
29     LintId::of(eta_reduction::REDUNDANT_CLOSURE_FOR_METHOD_CALLS),
30     LintId::of(excessive_bools::FN_PARAMS_EXCESSIVE_BOOLS),
31     LintId::of(excessive_bools::STRUCT_EXCESSIVE_BOOLS),
32     LintId::of(functions::MUST_USE_CANDIDATE),
33     LintId::of(functions::TOO_MANY_LINES),
34     LintId::of(if_not_else::IF_NOT_ELSE),
35     LintId::of(implicit_hasher::IMPLICIT_HASHER),
36     LintId::of(inconsistent_struct_constructor::INCONSISTENT_STRUCT_CONSTRUCTOR),
37     LintId::of(infinite_iter::MAYBE_INFINITE_ITER),
38     LintId::of(invalid_upcast_comparisons::INVALID_UPCAST_COMPARISONS),
39     LintId::of(items_after_statements::ITEMS_AFTER_STATEMENTS),
40     LintId::of(iter_not_returning_iterator::ITER_NOT_RETURNING_ITERATOR),
41     LintId::of(large_stack_arrays::LARGE_STACK_ARRAYS),
42     LintId::of(let_underscore::LET_UNDERSCORE_DROP),
43     LintId::of(literal_representation::LARGE_DIGIT_GROUPS),
44     LintId::of(literal_representation::UNREADABLE_LITERAL),
45     LintId::of(loops::EXPLICIT_INTO_ITER_LOOP),
46     LintId::of(loops::EXPLICIT_ITER_LOOP),
47     LintId::of(macro_use::MACRO_USE_IMPORTS),
48     LintId::of(manual_assert::MANUAL_ASSERT),
49     LintId::of(manual_instant_elapsed::MANUAL_INSTANT_ELAPSED),
50     LintId::of(manual_string_new::MANUAL_STRING_NEW),
51     LintId::of(matches::MATCH_BOOL),
52     LintId::of(matches::MATCH_ON_VEC_ITEMS),
53     LintId::of(matches::MATCH_SAME_ARMS),
54     LintId::of(matches::MATCH_WILDCARD_FOR_SINGLE_VARIANTS),
55     LintId::of(matches::MATCH_WILD_ERR_ARM),
56     LintId::of(matches::SINGLE_MATCH_ELSE),
57     LintId::of(methods::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS),
58     LintId::of(methods::CLONED_INSTEAD_OF_COPIED),
59     LintId::of(methods::FILTER_MAP_NEXT),
60     LintId::of(methods::FLAT_MAP_OPTION),
61     LintId::of(methods::FROM_ITER_INSTEAD_OF_COLLECT),
62     LintId::of(methods::IMPLICIT_CLONE),
63     LintId::of(methods::INEFFICIENT_TO_STRING),
64     LintId::of(methods::MANUAL_OK_OR),
65     LintId::of(methods::MAP_UNWRAP_OR),
66     LintId::of(methods::NAIVE_BYTECOUNT),
67     LintId::of(methods::STABLE_SORT_PRIMITIVE),
68     LintId::of(methods::UNNECESSARY_JOIN),
69     LintId::of(misc::USED_UNDERSCORE_BINDING),
70     LintId::of(mismatching_type_param_order::MISMATCHING_TYPE_PARAM_ORDER),
71     LintId::of(mut_mut::MUT_MUT),
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(operators::FLOAT_CMP),
79     LintId::of(operators::NEEDLESS_BITWISE_BOOL),
80     LintId::of(operators::VERBOSE_BIT_MASK),
81     LintId::of(pass_by_ref_or_value::LARGE_TYPES_PASSED_BY_VALUE),
82     LintId::of(pass_by_ref_or_value::TRIVIALLY_COPY_PASS_BY_REF),
83     LintId::of(ranges::RANGE_MINUS_ONE),
84     LintId::of(ranges::RANGE_PLUS_ONE),
85     LintId::of(redundant_else::REDUNDANT_ELSE),
86     LintId::of(ref_option_ref::REF_OPTION_REF),
87     LintId::of(return_self_not_must_use::RETURN_SELF_NOT_MUST_USE),
88     LintId::of(semicolon_if_nothing_returned::SEMICOLON_IF_NOTHING_RETURNED),
89     LintId::of(strings::STRING_ADD_ASSIGN),
90     LintId::of(trait_bounds::TRAIT_DUPLICATION_IN_BOUNDS),
91     LintId::of(trait_bounds::TYPE_REPETITION_IN_BOUNDS),
92     LintId::of(transmute::TRANSMUTE_PTR_TO_PTR),
93     LintId::of(types::LINKEDLIST),
94     LintId::of(types::OPTION_OPTION),
95     LintId::of(unicode::UNICODE_NOT_NFC),
96     LintId::of(unnecessary_wraps::UNNECESSARY_WRAPS),
97     LintId::of(unnested_or_patterns::UNNESTED_OR_PATTERNS),
98     LintId::of(unused_async::UNUSED_ASYNC),
99     LintId::of(unused_self::UNUSED_SELF),
100     LintId::of(wildcard_imports::ENUM_GLOB_USE),
101     LintId::of(wildcard_imports::WILDCARD_IMPORTS),
102     LintId::of(zero_sized_map_values::ZERO_SIZED_MAP_VALUES),
103 ])