Skip to content

Commit d1b1a4c

Browse files
committed
update span_lint_and_help call to six args
1 parent a9f1bb4 commit d1b1a4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/if_let_mutex.rs

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ impl LateLintPass<'_, '_> for IfLetMutex {
7272
IF_LET_MUTEX,
7373
ex.span,
7474
"calling `Mutex::lock` inside the scope of another `Mutex::lock` causes a deadlock",
75+
None,
7576
"move the lock call outside of the `if let ...` expression",
7677
);
7778
}

0 commit comments

Comments
 (0)