We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 489dd2e commit 3fbe321Copy full SHA for 3fbe321
tests/ui/if_let_mutex.stderr
@@ -13,7 +13,7 @@ LL | | };
13
= help: move the lock call outside of the `if let ...` expression
14
15
error: calling `Mutex::lock` inside the scope of another `Mutex::lock` causes a deadlock
16
- --> $DIR/if_let_mutex.rs:20:5
+ --> $DIR/if_let_mutex.rs:22:5
17
|
18
LL | / if let Some(locked) = m.lock().unwrap().deref() {
19
LL | | do_stuff(locked);
0 commit comments