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.
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_MARKDOWN
),
24 LintId
::of(doc
::MISSING_ERRORS_DOC
),
25 LintId
::of(doc
::MISSING_PANICS_DOC
),
26 LintId
::of(doc_link_with_quotes
::DOC_LINK_WITH_QUOTES
),
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(implicit_saturating_sub
::IMPLICIT_SATURATING_SUB
),
37 LintId
::of(inconsistent_struct_constructor
::INCONSISTENT_STRUCT_CONSTRUCTOR
),
38 LintId
::of(infinite_iter
::MAYBE_INFINITE_ITER
),
39 LintId
::of(invalid_upcast_comparisons
::INVALID_UPCAST_COMPARISONS
),
40 LintId
::of(items_after_statements
::ITEMS_AFTER_STATEMENTS
),
41 LintId
::of(iter_not_returning_iterator
::ITER_NOT_RETURNING_ITERATOR
),
42 LintId
::of(large_stack_arrays
::LARGE_STACK_ARRAYS
),
43 LintId
::of(let_underscore
::LET_UNDERSCORE_DROP
),
44 LintId
::of(literal_representation
::LARGE_DIGIT_GROUPS
),
45 LintId
::of(literal_representation
::UNREADABLE_LITERAL
),
46 LintId
::of(loops
::EXPLICIT_INTO_ITER_LOOP
),
47 LintId
::of(loops
::EXPLICIT_ITER_LOOP
),
48 LintId
::of(macro_use
::MACRO_USE_IMPORTS
),
49 LintId
::of(manual_assert
::MANUAL_ASSERT
),
50 LintId
::of(manual_instant_elapsed
::MANUAL_INSTANT_ELAPSED
),
51 LintId
::of(manual_string_new
::MANUAL_STRING_NEW
),
52 LintId
::of(matches
::MATCH_BOOL
),
53 LintId
::of(matches
::MATCH_ON_VEC_ITEMS
),
54 LintId
::of(matches
::MATCH_SAME_ARMS
),
55 LintId
::of(matches
::MATCH_WILDCARD_FOR_SINGLE_VARIANTS
),
56 LintId
::of(matches
::MATCH_WILD_ERR_ARM
),
57 LintId
::of(matches
::SINGLE_MATCH_ELSE
),
58 LintId
::of(methods
::CASE_SENSITIVE_FILE_EXTENSION_COMPARISONS
),
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
::MANUAL_OK_OR
),
66 LintId
::of(methods
::MAP_UNWRAP_OR
),
67 LintId
::of(methods
::NAIVE_BYTECOUNT
),
68 LintId
::of(methods
::STABLE_SORT_PRIMITIVE
),
69 LintId
::of(methods
::UNNECESSARY_JOIN
),
70 LintId
::of(misc
::USED_UNDERSCORE_BINDING
),
71 LintId
::of(mismatching_type_param_order
::MISMATCHING_TYPE_PARAM_ORDER
),
72 LintId
::of(mut_mut
::MUT_MUT
),
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
),
76 LintId
::of(no_effect
::NO_EFFECT_UNDERSCORE_BINDING
),
77 LintId
::of(non_expressive_names
::MANY_SINGLE_CHAR_NAMES
),
78 LintId
::of(non_expressive_names
::SIMILAR_NAMES
),
79 LintId
::of(operators
::FLOAT_CMP
),
80 LintId
::of(operators
::NEEDLESS_BITWISE_BOOL
),
81 LintId
::of(operators
::VERBOSE_BIT_MASK
),
82 LintId
::of(pass_by_ref_or_value
::LARGE_TYPES_PASSED_BY_VALUE
),
83 LintId
::of(pass_by_ref_or_value
::TRIVIALLY_COPY_PASS_BY_REF
),
84 LintId
::of(ranges
::RANGE_MINUS_ONE
),
85 LintId
::of(ranges
::RANGE_PLUS_ONE
),
86 LintId
::of(redundant_else
::REDUNDANT_ELSE
),
87 LintId
::of(ref_option_ref
::REF_OPTION_REF
),
88 LintId
::of(return_self_not_must_use
::RETURN_SELF_NOT_MUST_USE
),
89 LintId
::of(semicolon_if_nothing_returned
::SEMICOLON_IF_NOTHING_RETURNED
),
90 LintId
::of(strings
::STRING_ADD_ASSIGN
),
91 LintId
::of(transmute
::TRANSMUTE_PTR_TO_PTR
),
92 LintId
::of(types
::LINKEDLIST
),
93 LintId
::of(types
::OPTION_OPTION
),
94 LintId
::of(unicode
::UNICODE_NOT_NFC
),
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
),