]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/clippy_lints/src/lib.register_correctness.rs
Rollup merge of #87528 - :stack_overflow_obsd, r=joshtriplett
[rust.git] / src / tools / clippy / clippy_lints / src / lib.register_correctness.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::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(copies::IFS_SAME_COND),
17     LintId::of(copies::IF_SAME_THEN_ELSE),
18     LintId::of(derive::DERIVE_HASH_XOR_EQ),
19     LintId::of(derive::DERIVE_ORD_XOR_PARTIAL_ORD),
20     LintId::of(drop_forget_ref::DROP_COPY),
21     LintId::of(drop_forget_ref::DROP_REF),
22     LintId::of(drop_forget_ref::FORGET_COPY),
23     LintId::of(drop_forget_ref::FORGET_REF),
24     LintId::of(enum_clike::ENUM_CLIKE_UNPORTABLE_VARIANT),
25     LintId::of(eq_op::EQ_OP),
26     LintId::of(erasing_op::ERASING_OP),
27     LintId::of(formatting::POSSIBLE_MISSING_COMMA),
28     LintId::of(functions::NOT_UNSAFE_PTR_ARG_DEREF),
29     LintId::of(if_let_mutex::IF_LET_MUTEX),
30     LintId::of(indexing_slicing::OUT_OF_BOUNDS_INDEXING),
31     LintId::of(infinite_iter::INFINITE_ITER),
32     LintId::of(inherent_to_string::INHERENT_TO_STRING_SHADOW_DISPLAY),
33     LintId::of(inline_fn_without_body::INLINE_FN_WITHOUT_BODY),
34     LintId::of(let_underscore::LET_UNDERSCORE_LOCK),
35     LintId::of(literal_representation::MISTYPED_LITERAL_SUFFIXES),
36     LintId::of(loops::ITER_NEXT_LOOP),
37     LintId::of(loops::NEVER_LOOP),
38     LintId::of(loops::WHILE_IMMUTABLE_CONDITION),
39     LintId::of(mem_discriminant::MEM_DISCRIMINANT_NON_ENUM),
40     LintId::of(mem_replace::MEM_REPLACE_WITH_UNINIT),
41     LintId::of(methods::CLONE_DOUBLE_REF),
42     LintId::of(methods::ITERATOR_STEP_BY_ZERO),
43     LintId::of(methods::SUSPICIOUS_SPLITN),
44     LintId::of(methods::UNINIT_ASSUMED_INIT),
45     LintId::of(methods::ZST_OFFSET),
46     LintId::of(minmax::MIN_MAX),
47     LintId::of(misc::CMP_NAN),
48     LintId::of(misc::MODULO_ONE),
49     LintId::of(non_octal_unix_permissions::NON_OCTAL_UNIX_PERMISSIONS),
50     LintId::of(open_options::NONSENSICAL_OPEN_OPTIONS),
51     LintId::of(option_env_unwrap::OPTION_ENV_UNWRAP),
52     LintId::of(ptr::INVALID_NULL_PTR_USAGE),
53     LintId::of(ptr::MUT_FROM_REF),
54     LintId::of(ranges::REVERSED_EMPTY_RANGES),
55     LintId::of(regex::INVALID_REGEX),
56     LintId::of(self_assignment::SELF_ASSIGNMENT),
57     LintId::of(serde_api::SERDE_API_MISUSE),
58     LintId::of(size_of_in_element_count::SIZE_OF_IN_ELEMENT_COUNT),
59     LintId::of(swap::ALMOST_SWAPPED),
60     LintId::of(to_string_in_display::TO_STRING_IN_DISPLAY),
61     LintId::of(transmute::UNSOUND_COLLECTION_TRANSMUTE),
62     LintId::of(transmute::WRONG_TRANSMUTE),
63     LintId::of(transmuting_null::TRANSMUTING_NULL),
64     LintId::of(undropped_manually_drops::UNDROPPED_MANUALLY_DROPS),
65     LintId::of(unicode::INVISIBLE_CHARACTERS),
66     LintId::of(unit_return_expecting_ord::UNIT_RETURN_EXPECTING_ORD),
67     LintId::of(unit_types::UNIT_CMP),
68     LintId::of(unnamed_address::FN_ADDRESS_COMPARISONS),
69     LintId::of(unnamed_address::VTABLE_ADDRESS_COMPARISONS),
70     LintId::of(unused_io_amount::UNUSED_IO_AMOUNT),
71     LintId::of(unwrap::PANICKING_UNWRAP),
72     LintId::of(vec_resize_to_zero::VEC_RESIZE_TO_ZERO),
73 ])