about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDevin R <devin.ragotzy@gmail.com>2020-04-20 06:49:59 -0400
committerDevin R <devin.ragotzy@gmail.com>2020-04-20 06:49:59 -0400
commitd1b1a4c5ebcc2bcd665cee441332a2312ea9c512 (patch)
tree0c484a8e777d75cfa690758c1044601ec5787b30
parenta9f1bb43ef6ba4a4774ccbd6211814bb35d7724f (diff)
downloadrust-d1b1a4c5ebcc2bcd665cee441332a2312ea9c512.tar.gz
rust-d1b1a4c5ebcc2bcd665cee441332a2312ea9c512.zip
update span_lint_and_help call to six args
-rw-r--r--clippy_lints/src/if_let_mutex.rs1
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",
                     );
                 }