about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/if_let_mutex.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/if_let_mutex.stderr b/tests/ui/if_let_mutex.stderr
index 0c24d650c27..e9c4d916332 100644
--- a/tests/ui/if_let_mutex.stderr
+++ b/tests/ui/if_let_mutex.stderr
@@ -13,7 +13,7 @@ LL | |     };
    = help: move the lock call outside of the `if let ...` expression
 
 error: calling `Mutex::lock` inside the scope of another `Mutex::lock` causes a deadlock
-  --> $DIR/if_let_mutex.rs:20:5
+  --> $DIR/if_let_mutex.rs:22:5
    |
 LL | /     if let Some(locked) = m.lock().unwrap().deref() {
 LL | |         do_stuff(locked);