diff options
| author | Devin R <devin.ragotzy@gmail.com> | 2020-04-20 06:49:59 -0400 |
|---|---|---|
| committer | Devin R <devin.ragotzy@gmail.com> | 2020-04-20 06:49:59 -0400 |
| commit | d1b1a4c5ebcc2bcd665cee441332a2312ea9c512 (patch) | |
| tree | 0c484a8e777d75cfa690758c1044601ec5787b30 | |
| parent | a9f1bb43ef6ba4a4774ccbd6211814bb35d7724f (diff) | |
| download | rust-d1b1a4c5ebcc2bcd665cee441332a2312ea9c512.tar.gz rust-d1b1a4c5ebcc2bcd665cee441332a2312ea9c512.zip | |
update span_lint_and_help call to six args
| -rw-r--r-- | clippy_lints/src/if_let_mutex.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/if_let_mutex.rs b/clippy_lints/src/if_let_mutex.rs index 21749f8ad09..95b9c2823fe 100644 --- a/clippy_lints/src/if_let_mutex.rs +++ b/clippy_lints/src/if_let_mutex.rs @@ -72,6 +72,7 @@ impl LateLintPass<'_, '_> for IfLetMutex { IF_LET_MUTEX, ex.span, "calling `Mutex::lock` inside the scope of another `Mutex::lock` causes a deadlock", + None, "move the lock call outside of the `if let ...` expression", ); } |
