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::correctness", Some("clippy_correctness"), vec
![
6 LintId
::of(absurd_extreme_comparisons
::ABSURD_EXTREME_COMPARISONS
),
7 LintId
::of(approx_const
::APPROX_CONSTANT
),
8 LintId
::of(async_yields_async
::ASYNC_YIELDS_ASYNC
),
9 LintId
::of(attrs
::DEPRECATED_SEMVER
),
10 LintId
::of(attrs
::MISMATCHED_TARGET_OS
),
11 LintId
::of(attrs
::USELESS_ATTRIBUTE
),
12 LintId
::of(bit_mask
::BAD_BIT_MASK
),
13 LintId
::of(bit_mask
::INEFFECTIVE_BIT_MASK
),
14 LintId
::of(booleans
::LOGIC_BUG
),
15 LintId
::of(casts
::CAST_REF_TO_MUT
),
16 LintId
::of(casts
::CAST_SLICE_DIFFERENT_SIZES
),
17 LintId
::of(copies
::IFS_SAME_COND
),
18 LintId
::of(copies
::IF_SAME_THEN_ELSE
),
19 LintId
::of(derive
::DERIVE_HASH_XOR_EQ
),
20 LintId
::of(derive
::DERIVE_ORD_XOR_PARTIAL_ORD
),
21 LintId
::of(drop_forget_ref
::DROP_COPY
),
22 LintId
::of(drop_forget_ref
::DROP_REF
),
23 LintId
::of(drop_forget_ref
::FORGET_COPY
),
24 LintId
::of(drop_forget_ref
::FORGET_REF
),
25 LintId
::of(enum_clike
::ENUM_CLIKE_UNPORTABLE_VARIANT
),
26 LintId
::of(eq_op
::EQ_OP
),
27 LintId
::of(erasing_op
::ERASING_OP
),
28 LintId
::of(format_impl
::RECURSIVE_FORMAT_IMPL
),
29 LintId
::of(formatting
::POSSIBLE_MISSING_COMMA
),
30 LintId
::of(functions
::NOT_UNSAFE_PTR_ARG_DEREF
),
31 LintId
::of(if_let_mutex
::IF_LET_MUTEX
),
32 LintId
::of(indexing_slicing
::OUT_OF_BOUNDS_INDEXING
),
33 LintId
::of(infinite_iter
::INFINITE_ITER
),
34 LintId
::of(inherent_to_string
::INHERENT_TO_STRING_SHADOW_DISPLAY
),
35 LintId
::of(inline_fn_without_body
::INLINE_FN_WITHOUT_BODY
),
36 LintId
::of(let_underscore
::LET_UNDERSCORE_LOCK
),
37 LintId
::of(literal_representation
::MISTYPED_LITERAL_SUFFIXES
),
38 LintId
::of(loops
::ITER_NEXT_LOOP
),
39 LintId
::of(loops
::NEVER_LOOP
),
40 LintId
::of(loops
::WHILE_IMMUTABLE_CONDITION
),
41 LintId
::of(match_str_case_mismatch
::MATCH_STR_CASE_MISMATCH
),
42 LintId
::of(mem_replace
::MEM_REPLACE_WITH_UNINIT
),
43 LintId
::of(methods
::CLONE_DOUBLE_REF
),
44 LintId
::of(methods
::ITERATOR_STEP_BY_ZERO
),
45 LintId
::of(methods
::SUSPICIOUS_SPLITN
),
46 LintId
::of(methods
::UNINIT_ASSUMED_INIT
),
47 LintId
::of(methods
::ZST_OFFSET
),
48 LintId
::of(minmax
::MIN_MAX
),
49 LintId
::of(misc
::CMP_NAN
),
50 LintId
::of(misc
::MODULO_ONE
),
51 LintId
::of(non_octal_unix_permissions
::NON_OCTAL_UNIX_PERMISSIONS
),
52 LintId
::of(open_options
::NONSENSICAL_OPEN_OPTIONS
),
53 LintId
::of(option_env_unwrap
::OPTION_ENV_UNWRAP
),
54 LintId
::of(ptr
::INVALID_NULL_PTR_USAGE
),
55 LintId
::of(ptr
::MUT_FROM_REF
),
56 LintId
::of(ranges
::REVERSED_EMPTY_RANGES
),
57 LintId
::of(regex
::INVALID_REGEX
),
58 LintId
::of(self_assignment
::SELF_ASSIGNMENT
),
59 LintId
::of(serde_api
::SERDE_API_MISUSE
),
60 LintId
::of(size_of_in_element_count
::SIZE_OF_IN_ELEMENT_COUNT
),
61 LintId
::of(swap
::ALMOST_SWAPPED
),
62 LintId
::of(transmute
::UNSOUND_COLLECTION_TRANSMUTE
),
63 LintId
::of(transmute
::WRONG_TRANSMUTE
),
64 LintId
::of(transmuting_null
::TRANSMUTING_NULL
),
65 LintId
::of(undropped_manually_drops
::UNDROPPED_MANUALLY_DROPS
),
66 LintId
::of(unicode
::INVISIBLE_CHARACTERS
),
67 LintId
::of(uninit_vec
::UNINIT_VEC
),
68 LintId
::of(unit_hash
::UNIT_HASH
),
69 LintId
::of(unit_return_expecting_ord
::UNIT_RETURN_EXPECTING_ORD
),
70 LintId
::of(unit_types
::UNIT_CMP
),
71 LintId
::of(unnamed_address
::FN_ADDRESS_COMPARISONS
),
72 LintId
::of(unnamed_address
::VTABLE_ADDRESS_COMPARISONS
),
73 LintId
::of(unused_io_amount
::UNUSED_IO_AMOUNT
),
74 LintId
::of(unwrap
::PANICKING_UNWRAP
),
75 LintId
::of(vec_resize_to_zero
::VEC_RESIZE_TO_ZERO
),