We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9f1bb4 commit d1b1a4cCopy full SHA for d1b1a4c
clippy_lints/src/if_let_mutex.rs
@@ -72,6 +72,7 @@ impl LateLintPass<'_, '_> for IfLetMutex {
72
IF_LET_MUTEX,
73
ex.span,
74
"calling `Mutex::lock` inside the scope of another `Mutex::lock` causes a deadlock",
75
+ None,
76
"move the lock call outside of the `if let ...` expression",
77
);
78
}
0 commit comments