]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/lib.register_style.rs
Move if_then_panic to pedantic
[rust.git] / clippy_lints / src / lib.register_style.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::style", Some("clippy_style"), vec![
6     LintId::of(assertions_on_constants::ASSERTIONS_ON_CONSTANTS),
7     LintId::of(assign_ops::ASSIGN_OP_PATTERN),
8     LintId::of(blacklisted_name::BLACKLISTED_NAME),
9     LintId::of(blocks_in_if_conditions::BLOCKS_IN_IF_CONDITIONS),
10     LintId::of(bool_assert_comparison::BOOL_ASSERT_COMPARISON),
11     LintId::of(casts::FN_TO_NUMERIC_CAST),
12     LintId::of(casts::FN_TO_NUMERIC_CAST_WITH_TRUNCATION),
13     LintId::of(collapsible_if::COLLAPSIBLE_ELSE_IF),
14     LintId::of(collapsible_if::COLLAPSIBLE_IF),
15     LintId::of(collapsible_match::COLLAPSIBLE_MATCH),
16     LintId::of(comparison_chain::COMPARISON_CHAIN),
17     LintId::of(default::FIELD_REASSIGN_WITH_DEFAULT),
18     LintId::of(doc::MISSING_SAFETY_DOC),
19     LintId::of(doc::NEEDLESS_DOCTEST_MAIN),
20     LintId::of(enum_variants::ENUM_VARIANT_NAMES),
21     LintId::of(enum_variants::MODULE_INCEPTION),
22     LintId::of(eq_op::OP_REF),
23     LintId::of(eta_reduction::REDUNDANT_CLOSURE),
24     LintId::of(float_literal::EXCESSIVE_PRECISION),
25     LintId::of(from_over_into::FROM_OVER_INTO),
26     LintId::of(from_str_radix_10::FROM_STR_RADIX_10),
27     LintId::of(functions::DOUBLE_MUST_USE),
28     LintId::of(functions::MUST_USE_UNIT),
29     LintId::of(functions::RESULT_UNIT_ERR),
30     LintId::of(inherent_to_string::INHERENT_TO_STRING),
31     LintId::of(len_zero::COMPARISON_TO_EMPTY),
32     LintId::of(len_zero::LEN_WITHOUT_IS_EMPTY),
33     LintId::of(len_zero::LEN_ZERO),
34     LintId::of(literal_representation::INCONSISTENT_DIGIT_GROUPING),
35     LintId::of(literal_representation::UNUSUAL_BYTE_GROUPINGS),
36     LintId::of(loops::FOR_KV_MAP),
37     LintId::of(loops::NEEDLESS_RANGE_LOOP),
38     LintId::of(loops::SAME_ITEM_PUSH),
39     LintId::of(loops::WHILE_LET_ON_ITERATOR),
40     LintId::of(main_recursion::MAIN_RECURSION),
41     LintId::of(manual_async_fn::MANUAL_ASYNC_FN),
42     LintId::of(manual_map::MANUAL_MAP),
43     LintId::of(manual_non_exhaustive::MANUAL_NON_EXHAUSTIVE),
44     LintId::of(map_clone::MAP_CLONE),
45     LintId::of(match_result_ok::MATCH_RESULT_OK),
46     LintId::of(matches::INFALLIBLE_DESTRUCTURING_MATCH),
47     LintId::of(matches::MATCH_LIKE_MATCHES_MACRO),
48     LintId::of(matches::MATCH_OVERLAPPING_ARM),
49     LintId::of(matches::MATCH_REF_PATS),
50     LintId::of(matches::REDUNDANT_PATTERN_MATCHING),
51     LintId::of(matches::SINGLE_MATCH),
52     LintId::of(mem_replace::MEM_REPLACE_OPTION_WITH_NONE),
53     LintId::of(mem_replace::MEM_REPLACE_WITH_DEFAULT),
54     LintId::of(methods::BYTES_NTH),
55     LintId::of(methods::CHARS_LAST_CMP),
56     LintId::of(methods::CHARS_NEXT_CMP),
57     LintId::of(methods::INTO_ITER_ON_REF),
58     LintId::of(methods::ITER_CLONED_COLLECT),
59     LintId::of(methods::ITER_NEXT_SLICE),
60     LintId::of(methods::ITER_NTH_ZERO),
61     LintId::of(methods::ITER_SKIP_NEXT),
62     LintId::of(methods::MANUAL_SATURATING_ARITHMETIC),
63     LintId::of(methods::MAP_COLLECT_RESULT_UNIT),
64     LintId::of(methods::NEW_RET_NO_SELF),
65     LintId::of(methods::OK_EXPECT),
66     LintId::of(methods::OPTION_MAP_OR_NONE),
67     LintId::of(methods::RESULT_MAP_OR_INTO_OPTION),
68     LintId::of(methods::SHOULD_IMPLEMENT_TRAIT),
69     LintId::of(methods::SINGLE_CHAR_ADD_STR),
70     LintId::of(methods::STRING_EXTEND_CHARS),
71     LintId::of(methods::UNNECESSARY_FOLD),
72     LintId::of(methods::UNNECESSARY_LAZY_EVALUATIONS),
73     LintId::of(methods::UNWRAP_OR_ELSE_DEFAULT),
74     LintId::of(methods::WRONG_SELF_CONVENTION),
75     LintId::of(misc::TOPLEVEL_REF_ARG),
76     LintId::of(misc::ZERO_PTR),
77     LintId::of(misc_early::BUILTIN_TYPE_SHADOW),
78     LintId::of(misc_early::DOUBLE_NEG),
79     LintId::of(misc_early::DUPLICATE_UNDERSCORE_ARGUMENT),
80     LintId::of(misc_early::MIXED_CASE_HEX_LITERALS),
81     LintId::of(misc_early::REDUNDANT_PATTERN),
82     LintId::of(mut_mutex_lock::MUT_MUTEX_LOCK),
83     LintId::of(mut_reference::UNNECESSARY_MUT_PASSED),
84     LintId::of(needless_borrow::NEEDLESS_BORROW),
85     LintId::of(neg_multiply::NEG_MULTIPLY),
86     LintId::of(new_without_default::NEW_WITHOUT_DEFAULT),
87     LintId::of(non_copy_const::BORROW_INTERIOR_MUTABLE_CONST),
88     LintId::of(non_copy_const::DECLARE_INTERIOR_MUTABLE_CONST),
89     LintId::of(non_expressive_names::JUST_UNDERSCORES_AND_DIGITS),
90     LintId::of(ptr::CMP_NULL),
91     LintId::of(ptr::PTR_ARG),
92     LintId::of(ptr_eq::PTR_EQ),
93     LintId::of(question_mark::QUESTION_MARK),
94     LintId::of(ranges::MANUAL_RANGE_CONTAINS),
95     LintId::of(redundant_field_names::REDUNDANT_FIELD_NAMES),
96     LintId::of(redundant_static_lifetimes::REDUNDANT_STATIC_LIFETIMES),
97     LintId::of(returns::LET_AND_RETURN),
98     LintId::of(returns::NEEDLESS_RETURN),
99     LintId::of(self_named_constructors::SELF_NAMED_CONSTRUCTORS),
100     LintId::of(single_component_path_imports::SINGLE_COMPONENT_PATH_IMPORTS),
101     LintId::of(tabs_in_doc_comments::TABS_IN_DOC_COMMENTS),
102     LintId::of(to_digit_is_some::TO_DIGIT_IS_SOME),
103     LintId::of(try_err::TRY_ERR),
104     LintId::of(unsafe_removed_from_name::UNSAFE_REMOVED_FROM_NAME),
105     LintId::of(unused_unit::UNUSED_UNIT),
106     LintId::of(upper_case_acronyms::UPPER_CASE_ACRONYMS),
107     LintId::of(write::PRINTLN_EMPTY_STRING),
108     LintId::of(write::PRINT_LITERAL),
109     LintId::of(write::PRINT_WITH_NEWLINE),
110     LintId::of(write::WRITELN_EMPTY_STRING),
111     LintId::of(write::WRITE_LITERAL),
112     LintId::of(write::WRITE_WITH_NEWLINE),
113 ])