]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/clippy_lints/src/lib.register_pedantic.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / src / lib.register_pedantic.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::pedantic", Some("clippy_pedantic"), vec![
6 LintId::of(attrs::INLINE_ALWAYS),
c295e0f8 7 LintId::of(bit_mask::VERBOSE_BIT_MASK),
5099ac24 8 LintId::of(borrow_as_ptr::BORROW_AS_PTR),
c295e0f8
XL
9 LintId::of(bytecount::NAIVE_BYTECOUNT),
10 LintId::of(case_sensitive_file_extension_comparisons::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS),
11 LintId::of(casts::CAST_LOSSLESS),
12 LintId::of(casts::CAST_POSSIBLE_TRUNCATION),
13 LintId::of(casts::CAST_POSSIBLE_WRAP),
14 LintId::of(casts::CAST_PRECISION_LOSS),
15 LintId::of(casts::CAST_PTR_ALIGNMENT),
16 LintId::of(casts::CAST_SIGN_LOSS),
17 LintId::of(casts::PTR_AS_PTR),
18 LintId::of(checked_conversions::CHECKED_CONVERSIONS),
19 LintId::of(copies::SAME_FUNCTIONS_IN_IF_CONDITION),
20 LintId::of(copy_iterator::COPY_ITERATOR),
21 LintId::of(default::DEFAULT_TRAIT_ACCESS),
22 LintId::of(dereference::EXPLICIT_DEREF_METHODS),
a2a8927a 23 LintId::of(dereference::REF_BINDING_TO_REFERENCE),
c295e0f8
XL
24 LintId::of(derive::EXPL_IMPL_CLONE_ON_COPY),
25 LintId::of(derive::UNSAFE_DERIVE_DESERIALIZE),
26 LintId::of(doc::DOC_MARKDOWN),
27 LintId::of(doc::MISSING_ERRORS_DOC),
28 LintId::of(doc::MISSING_PANICS_DOC),
923072b8 29 LintId::of(doc_link_with_quotes::DOC_LINK_WITH_QUOTES),
c295e0f8
XL
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),
c295e0f8 54 LintId::of(matches::MATCH_BOOL),
923072b8 55 LintId::of(matches::MATCH_ON_VEC_ITEMS),
c295e0f8
XL
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),
c295e0f8 66 LintId::of(methods::MAP_UNWRAP_OR),
5e7ed085 67 LintId::of(methods::UNNECESSARY_JOIN),
c295e0f8
XL
68 LintId::of(misc::FLOAT_CMP),
69 LintId::of(misc::USED_UNDERSCORE_BINDING),
923072b8 70 LintId::of(mismatching_type_param_order::MISMATCHING_TYPE_PARAM_ORDER),
c295e0f8
XL
71 LintId::of(mut_mut::MUT_MUT),
72 LintId::of(needless_bitwise_bool::NEEDLESS_BITWISE_BOOL),
c295e0f8
XL
73 LintId::of(needless_continue::NEEDLESS_CONTINUE),
74 LintId::of(needless_for_each::NEEDLESS_FOR_EACH),
75 LintId::of(needless_pass_by_value::NEEDLESS_PASS_BY_VALUE),
3c0e092e 76 LintId::of(no_effect::NO_EFFECT_UNDERSCORE_BINDING),
c295e0f8
XL
77 LintId::of(non_expressive_names::MANY_SINGLE_CHAR_NAMES),
78 LintId::of(non_expressive_names::SIMILAR_NAMES),
79 LintId::of(pass_by_ref_or_value::LARGE_TYPES_PASSED_BY_VALUE),
80 LintId::of(pass_by_ref_or_value::TRIVIALLY_COPY_PASS_BY_REF),
81 LintId::of(ranges::RANGE_MINUS_ONE),
82 LintId::of(ranges::RANGE_PLUS_ONE),
83 LintId::of(redundant_else::REDUNDANT_ELSE),
84 LintId::of(ref_option_ref::REF_OPTION_REF),
a2a8927a 85 LintId::of(return_self_not_must_use::RETURN_SELF_NOT_MUST_USE),
c295e0f8 86 LintId::of(semicolon_if_nothing_returned::SEMICOLON_IF_NOTHING_RETURNED),
04454e1e 87 LintId::of(stable_sort_primitive::STABLE_SORT_PRIMITIVE),
c295e0f8
XL
88 LintId::of(strings::STRING_ADD_ASSIGN),
89 LintId::of(trait_bounds::TRAIT_DUPLICATION_IN_BOUNDS),
90 LintId::of(trait_bounds::TYPE_REPETITION_IN_BOUNDS),
91 LintId::of(transmute::TRANSMUTE_PTR_TO_PTR),
92 LintId::of(types::LINKEDLIST),
93 LintId::of(types::OPTION_OPTION),
c295e0f8 94 LintId::of(unicode::UNICODE_NOT_NFC),
c295e0f8
XL
95 LintId::of(unnecessary_wraps::UNNECESSARY_WRAPS),
96 LintId::of(unnested_or_patterns::UNNESTED_OR_PATTERNS),
97 LintId::of(unused_async::UNUSED_ASYNC),
98 LintId::of(unused_self::UNUSED_SELF),
99 LintId::of(wildcard_imports::ENUM_GLOB_USE),
100 LintId::of(wildcard_imports::WILDCARD_IMPORTS),
101 LintId::of(zero_sized_map_values::ZERO_SIZED_MAP_VALUES),
102])