update span_lint_and_help call to six args

This commit is contained in:
Devin R 2020-04-20 06:49:59 -04:00
parent a9f1bb43ef
commit d1b1a4c5eb

View file

@ -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",
);
}