]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/lib.register_correctness.rs
Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup
[rust.git] / 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(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(drop_forget_ref::UNDROPPED_MANUALLY_DROPS),
26     LintId::of(enum_clike::ENUM_CLIKE_UNPORTABLE_VARIANT),
27     LintId::of(eq_op::EQ_OP),
28     LintId::of(erasing_op::ERASING_OP),
29     LintId::of(format_impl::RECURSIVE_FORMAT_IMPL),
30     LintId::of(formatting::POSSIBLE_MISSING_COMMA),
31     LintId::of(functions::NOT_UNSAFE_PTR_ARG_DEREF),
32     LintId::of(if_let_mutex::IF_LET_MUTEX),
33     LintId::of(indexing_slicing::OUT_OF_BOUNDS_INDEXING),
34     LintId::of(infinite_iter::INFINITE_ITER),
35     LintId::of(inherent_to_string::INHERENT_TO_STRING_SHADOW_DISPLAY),
36     LintId::of(inline_fn_without_body::INLINE_FN_WITHOUT_BODY),
37     LintId::of(let_underscore::LET_UNDERSCORE_LOCK),
38     LintId::of(literal_representation::MISTYPED_LITERAL_SUFFIXES),
39     LintId::of(loops::ITER_NEXT_LOOP),
40     LintId::of(loops::NEVER_LOOP),
41     LintId::of(loops::WHILE_IMMUTABLE_CONDITION),
42     LintId::of(match_str_case_mismatch::MATCH_STR_CASE_MISMATCH),
43     LintId::of(mem_replace::MEM_REPLACE_WITH_UNINIT),
44     LintId::of(methods::CLONE_DOUBLE_REF),
45     LintId::of(methods::ITERATOR_STEP_BY_ZERO),
46     LintId::of(methods::SUSPICIOUS_SPLITN),
47     LintId::of(methods::UNINIT_ASSUMED_INIT),
48     LintId::of(methods::ZST_OFFSET),
49     LintId::of(minmax::MIN_MAX),
50     LintId::of(misc::CMP_NAN),
51     LintId::of(misc::MODULO_ONE),
52     LintId::of(non_octal_unix_permissions::NON_OCTAL_UNIX_PERMISSIONS),
53     LintId::of(open_options::NONSENSICAL_OPEN_OPTIONS),
54     LintId::of(option_env_unwrap::OPTION_ENV_UNWRAP),
55     LintId::of(ptr::INVALID_NULL_PTR_USAGE),
56     LintId::of(ptr::MUT_FROM_REF),
57     LintId::of(ranges::REVERSED_EMPTY_RANGES),
58     LintId::of(regex::INVALID_REGEX),
59     LintId::of(self_assignment::SELF_ASSIGNMENT),
60     LintId::of(serde_api::SERDE_API_MISUSE),
61     LintId::of(size_of_in_element_count::SIZE_OF_IN_ELEMENT_COUNT),
62     LintId::of(swap::ALMOST_SWAPPED),
63     LintId::of(transmute::UNSOUND_COLLECTION_TRANSMUTE),
64     LintId::of(transmute::WRONG_TRANSMUTE),
65     LintId::of(transmuting_null::TRANSMUTING_NULL),
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),
76 ])