mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
update span_lint_and_help call to six args
This commit is contained in:
parent
a9f1bb43ef
commit
d1b1a4c5eb
1 changed files with 1 additions and 0 deletions
|
@ -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",
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue