]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/clippy_lints/src/lib.register_pedantic.rs
Rollup merge of #96639 - adpaco-aws:fix-offset-from-typo, r=scottmcm
[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(bit_mask::VERBOSE_BIT_MASK),
8     LintId::of(borrow_as_ptr::BORROW_AS_PTR),
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),
23     LintId::of(dereference::REF_BINDING_TO_REFERENCE),
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),
29     LintId::of(empty_enum::EMPTY_ENUM),
30     LintId::of(enum_variants::MODULE_NAME_REPETITIONS),
31     LintId::of(eta_reduction::REDUNDANT_CLOSURE_FOR_METHOD_CALLS),
32     LintId::of(excessive_bools::FN_PARAMS_EXCESSIVE_BOOLS),
33     LintId::of(excessive_bools::STRUCT_EXCESSIVE_BOOLS),
34     LintId::of(functions::MUST_USE_CANDIDATE),
35     LintId::of(functions::TOO_MANY_LINES),
36     LintId::of(if_not_else::IF_NOT_ELSE),
37     LintId::of(implicit_hasher::IMPLICIT_HASHER),
38     LintId::of(implicit_saturating_sub::IMPLICIT_SATURATING_SUB),
39     LintId::of(inconsistent_struct_constructor::INCONSISTENT_STRUCT_CONSTRUCTOR),
40     LintId::of(infinite_iter::MAYBE_INFINITE_ITER),
41     LintId::of(invalid_upcast_comparisons::INVALID_UPCAST_COMPARISONS),
42     LintId::of(items_after_statements::ITEMS_AFTER_STATEMENTS),
43     LintId::of(iter_not_returning_iterator::ITER_NOT_RETURNING_ITERATOR),
44     LintId::of(large_stack_arrays::LARGE_STACK_ARRAYS),
45     LintId::of(let_underscore::LET_UNDERSCORE_DROP),
46     LintId::of(literal_representation::LARGE_DIGIT_GROUPS),
47     LintId::of(literal_representation::UNREADABLE_LITERAL),
48     LintId::of(loops::EXPLICIT_INTO_ITER_LOOP),
49     LintId::of(loops::EXPLICIT_ITER_LOOP),
50     LintId::of(macro_use::MACRO_USE_IMPORTS),
51     LintId::of(manual_assert::MANUAL_ASSERT),
52     LintId::of(manual_ok_or::MANUAL_OK_OR),
53     LintId::of(match_on_vec_items::MATCH_ON_VEC_ITEMS),
54     LintId::of(matches::MATCH_BOOL),
55     LintId::of(matches::MATCH_SAME_ARMS),
56     LintId::of(matches::MATCH_WILDCARD_FOR_SINGLE_VARIANTS),
57     LintId::of(matches::MATCH_WILD_ERR_ARM),
58     LintId::of(matches::SINGLE_MATCH_ELSE),
59     LintId::of(methods::CLONED_INSTEAD_OF_COPIED),
60     LintId::of(methods::FILTER_MAP_NEXT),
61     LintId::of(methods::FLAT_MAP_OPTION),
62     LintId::of(methods::FROM_ITER_INSTEAD_OF_COLLECT),
63     LintId::of(methods::IMPLICIT_CLONE),
64     LintId::of(methods::INEFFICIENT_TO_STRING),
65     LintId::of(methods::MAP_UNWRAP_OR),
66     LintId::of(methods::UNNECESSARY_JOIN),
67     LintId::of(misc::FLOAT_CMP),
68     LintId::of(misc::USED_UNDERSCORE_BINDING),
69     LintId::of(mut_mut::MUT_MUT),
70     LintId::of(needless_bitwise_bool::NEEDLESS_BITWISE_BOOL),
71     LintId::of(needless_continue::NEEDLESS_CONTINUE),
72     LintId::of(needless_for_each::NEEDLESS_FOR_EACH),
73     LintId::of(needless_pass_by_value::NEEDLESS_PASS_BY_VALUE),
74     LintId::of(no_effect::NO_EFFECT_UNDERSCORE_BINDING),
75     LintId::of(non_expressive_names::MANY_SINGLE_CHAR_NAMES),
76     LintId::of(non_expressive_names::SIMILAR_NAMES),
77     LintId::of(pass_by_ref_or_value::LARGE_TYPES_PASSED_BY_VALUE),
78     LintId::of(pass_by_ref_or_value::TRIVIALLY_COPY_PASS_BY_REF),
79     LintId::of(ranges::RANGE_MINUS_ONE),
80     LintId::of(ranges::RANGE_PLUS_ONE),
81     LintId::of(redundant_else::REDUNDANT_ELSE),
82     LintId::of(ref_option_ref::REF_OPTION_REF),
83     LintId::of(return_self_not_must_use::RETURN_SELF_NOT_MUST_USE),
84     LintId::of(semicolon_if_nothing_returned::SEMICOLON_IF_NOTHING_RETURNED),
85     LintId::of(stable_sort_primitive::STABLE_SORT_PRIMITIVE),
86     LintId::of(strings::STRING_ADD_ASSIGN),
87     LintId::of(transmute::TRANSMUTE_PTR_TO_PTR),
88     LintId::of(types::LINKEDLIST),
89     LintId::of(types::OPTION_OPTION),
90     LintId::of(unicode::UNICODE_NOT_NFC),
91     LintId::of(unnecessary_wraps::UNNECESSARY_WRAPS),
92     LintId::of(unnested_or_patterns::UNNESTED_OR_PATTERNS),
93     LintId::of(unused_async::UNUSED_ASYNC),
94     LintId::of(unused_self::UNUSED_SELF),
95     LintId::of(wildcard_imports::ENUM_GLOB_USE),
96     LintId::of(wildcard_imports::WILDCARD_IMPORTS),
97     LintId::of(zero_sized_map_values::ZERO_SIZED_MAP_VALUES),
98 ])