about summary refs log tree commit diff
path: root/clippy_lints/src/lib.register_complexity.rs
diff options
context:
space:
mode:
authorMax Baumann <max@bmn.dev>2022-03-18 01:12:39 +0100
committerMax Baumann <max@bmn.dev>2022-03-18 01:12:39 +0100
commit3c4192f3e9d2983c0fa2fc30fa76f63cb62b06fa (patch)
treee9c83c5e830ef99281a9c63540e536fbc1ddd7de /clippy_lints/src/lib.register_complexity.rs
parent05e05eaed7f512bf2a1f7f236fc4b484d4a52aa5 (diff)
downloadrust-3c4192f3e9d2983c0fa2fc30fa76f63cb62b06fa.tar.gz
rust-3c4192f3e9d2983c0fa2fc30fa76f63cb62b06fa.zip
fix: ran update_lints
Diffstat (limited to 'clippy_lints/src/lib.register_complexity.rs')
-rw-r--r--clippy_lints/src/lib.register_complexity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/lib.register_complexity.rs b/clippy_lints/src/lib.register_complexity.rs
index 45ad1520396..34d764e810d 100644
--- a/clippy_lints/src/lib.register_complexity.rs
+++ b/clippy_lints/src/lib.register_complexity.rs
@@ -66,6 +66,7 @@ store.register_group(true, "clippy::complexity", Some("clippy_complexity"), vec!
     LintId::of(no_effect::NO_EFFECT),
     LintId::of(no_effect::UNNECESSARY_OPERATION),
     LintId::of(only_used_in_recursion::ONLY_USED_IN_RECURSION),
+    LintId::of(or_then_unwrap::OR_THEN_UNWRAP),
     LintId::of(overflow_check_conditional::OVERFLOW_CHECK_CONDITIONAL),
     LintId::of(partialeq_ne_impl::PARTIALEQ_NE_IMPL),
     LintId::of(precedence::PRECEDENCE),
@@ -94,7 +95,6 @@ store.register_group(true, "clippy::complexity", Some("clippy_complexity"), vec!
     LintId::of(unit_types::UNIT_ARG),
     LintId::of(unnecessary_sort_by::UNNECESSARY_SORT_BY),
     LintId::of(unwrap::UNNECESSARY_UNWRAP),
-    LintId::of(or_then_unwrap::OR_THEN_UNWRAP),
     LintId::of(useless_conversion::USELESS_CONVERSION),
     LintId::of(zero_div_zero::ZERO_DIVIDED_BY_ZERO),
 ])