@@ -255,6 +255,7 @@ mod modulo_arithmetic;
255255mod multiple_crate_versions;
256256mod mut_key;
257257mod mut_mut;
258+ mod mut_mutex_lock;
258259mod mut_reference;
259260mod mutable_debug_assertion;
260261mod mutex_atomic;
@@ -746,6 +747,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
746747 & multiple_crate_versions:: MULTIPLE_CRATE_VERSIONS ,
747748 & mut_key:: MUTABLE_KEY_TYPE ,
748749 & mut_mut:: MUT_MUT ,
750+ & mut_mutex_lock:: MUT_MUTEX_LOCK ,
749751 & mut_reference:: UNNECESSARY_MUT_PASSED ,
750752 & mutable_debug_assertion:: DEBUG_ASSERT_WITH_MUT_CALL ,
751753 & mutex_atomic:: MUTEX_ATOMIC ,
@@ -1115,6 +1117,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
11151117 store. register_late_pass ( || box future_not_send:: FutureNotSend ) ;
11161118 store. register_late_pass ( || box utils:: internal_lints:: CollapsibleCalls ) ;
11171119 store. register_late_pass ( || box if_let_mutex:: IfLetMutex ) ;
1120+ store. register_late_pass ( || box mut_mutex_lock:: MutMutexLock ) ;
11181121 store. register_late_pass ( || box match_on_vec_items:: MatchOnVecItems ) ;
11191122 store. register_early_pass ( || box manual_non_exhaustive:: ManualNonExhaustive ) ;
11201123 store. register_late_pass ( || box manual_async_fn:: ManualAsyncFn ) ;
@@ -1451,6 +1454,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
14511454 LintId :: of( & misc_early:: UNNEEDED_WILDCARD_PATTERN ) ,
14521455 LintId :: of( & misc_early:: ZERO_PREFIXED_LITERAL ) ,
14531456 LintId :: of( & mut_key:: MUTABLE_KEY_TYPE ) ,
1457+ LintId :: of( & mut_mutex_lock:: MUT_MUTEX_LOCK ) ,
14541458 LintId :: of( & mut_reference:: UNNECESSARY_MUT_PASSED ) ,
14551459 LintId :: of( & mutex_atomic:: MUTEX_ATOMIC ) ,
14561460 LintId :: of( & needless_arbitrary_self_type:: NEEDLESS_ARBITRARY_SELF_TYPE ) ,
@@ -1623,6 +1627,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
16231627 LintId :: of( & misc_early:: DUPLICATE_UNDERSCORE_ARGUMENT ) ,
16241628 LintId :: of( & misc_early:: MIXED_CASE_HEX_LITERALS ) ,
16251629 LintId :: of( & misc_early:: REDUNDANT_PATTERN ) ,
1630+ LintId :: of( & mut_mutex_lock:: MUT_MUTEX_LOCK ) ,
16261631 LintId :: of( & mut_reference:: UNNECESSARY_MUT_PASSED ) ,
16271632 LintId :: of( & neg_multiply:: NEG_MULTIPLY ) ,
16281633 LintId :: of( & new_without_default:: NEW_WITHOUT_DEFAULT ) ,
0 commit comments