]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/lib.register_correctness.rs
Shrink `hir::def::Res`.
[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(approx_const::APPROX_CONSTANT),
7     LintId::of(async_yields_async::ASYNC_YIELDS_ASYNC),
8     LintId::of(attrs::DEPRECATED_SEMVER),
9     LintId::of(attrs::MISMATCHED_TARGET_OS),
10     LintId::of(attrs::USELESS_ATTRIBUTE),
11     LintId::of(booleans::OVERLY_COMPLEX_BOOL_EXPR),
12     LintId::of(casts::CAST_REF_TO_MUT),
13     LintId::of(casts::CAST_SLICE_DIFFERENT_SIZES),
14     LintId::of(copies::IFS_SAME_COND),
15     LintId::of(copies::IF_SAME_THEN_ELSE),
16     LintId::of(derive::DERIVE_HASH_XOR_EQ),
17     LintId::of(derive::DERIVE_ORD_XOR_PARTIAL_ORD),
18     LintId::of(drop_forget_ref::DROP_COPY),
19     LintId::of(drop_forget_ref::DROP_REF),
20     LintId::of(drop_forget_ref::FORGET_COPY),
21     LintId::of(drop_forget_ref::FORGET_REF),
22     LintId::of(drop_forget_ref::UNDROPPED_MANUALLY_DROPS),
23     LintId::of(enum_clike::ENUM_CLIKE_UNPORTABLE_VARIANT),
24     LintId::of(format_impl::RECURSIVE_FORMAT_IMPL),
25     LintId::of(formatting::POSSIBLE_MISSING_COMMA),
26     LintId::of(functions::NOT_UNSAFE_PTR_ARG_DEREF),
27     LintId::of(if_let_mutex::IF_LET_MUTEX),
28     LintId::of(indexing_slicing::OUT_OF_BOUNDS_INDEXING),
29     LintId::of(infinite_iter::INFINITE_ITER),
30     LintId::of(inherent_to_string::INHERENT_TO_STRING_SHADOW_DISPLAY),
31     LintId::of(inline_fn_without_body::INLINE_FN_WITHOUT_BODY),
32     LintId::of(invalid_utf8_in_unchecked::INVALID_UTF8_IN_UNCHECKED),
33     LintId::of(let_underscore::LET_UNDERSCORE_LOCK),
34     LintId::of(literal_representation::MISTYPED_LITERAL_SUFFIXES),
35     LintId::of(loops::ITER_NEXT_LOOP),
36     LintId::of(loops::NEVER_LOOP),
37     LintId::of(loops::WHILE_IMMUTABLE_CONDITION),
38     LintId::of(matches::MATCH_STR_CASE_MISMATCH),
39     LintId::of(mem_replace::MEM_REPLACE_WITH_UNINIT),
40     LintId::of(methods::CLONE_DOUBLE_REF),
41     LintId::of(methods::ITERATOR_STEP_BY_ZERO),
42     LintId::of(methods::NONSENSICAL_OPEN_OPTIONS),
43     LintId::of(methods::SUSPICIOUS_SPLITN),
44     LintId::of(methods::UNINIT_ASSUMED_INIT),
45     LintId::of(methods::UNIT_HASH),
46     LintId::of(methods::VEC_RESIZE_TO_ZERO),
47     LintId::of(methods::ZST_OFFSET),
48     LintId::of(minmax::MIN_MAX),
49     LintId::of(non_octal_unix_permissions::NON_OCTAL_UNIX_PERMISSIONS),
50     LintId::of(operators::ABSURD_EXTREME_COMPARISONS),
51     LintId::of(operators::BAD_BIT_MASK),
52     LintId::of(operators::CMP_NAN),
53     LintId::of(operators::EQ_OP),
54     LintId::of(operators::ERASING_OP),
55     LintId::of(operators::INEFFECTIVE_BIT_MASK),
56     LintId::of(operators::MODULO_ONE),
57     LintId::of(operators::SELF_ASSIGNMENT),
58     LintId::of(option_env_unwrap::OPTION_ENV_UNWRAP),
59     LintId::of(ptr::INVALID_NULL_PTR_USAGE),
60     LintId::of(ptr::MUT_FROM_REF),
61     LintId::of(ranges::REVERSED_EMPTY_RANGES),
62     LintId::of(read_zero_byte_vec::READ_ZERO_BYTE_VEC),
63     LintId::of(regex::INVALID_REGEX),
64     LintId::of(serde_api::SERDE_API_MISUSE),
65     LintId::of(size_of_in_element_count::SIZE_OF_IN_ELEMENT_COUNT),
66     LintId::of(swap::ALMOST_SWAPPED),
67     LintId::of(transmute::TRANSMUTING_NULL),
68     LintId::of(transmute::UNSOUND_COLLECTION_TRANSMUTE),
69     LintId::of(transmute::WRONG_TRANSMUTE),
70     LintId::of(unicode::INVISIBLE_CHARACTERS),
71     LintId::of(uninit_vec::UNINIT_VEC),
72     LintId::of(unit_return_expecting_ord::UNIT_RETURN_EXPECTING_ORD),
73     LintId::of(unit_types::UNIT_CMP),
74     LintId::of(unnamed_address::FN_ADDRESS_COMPARISONS),
75     LintId::of(unnamed_address::VTABLE_ADDRESS_COMPARISONS),
76     LintId::of(unused_io_amount::UNUSED_IO_AMOUNT),
77     LintId::of(unwrap::PANICKING_UNWRAP),
78 ])