summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/assign-non-lval-derefmut.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/assign-non-lval-derefmut.stderr')
-rw-r--r--tests/ui/typeck/assign-non-lval-derefmut.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/typeck/assign-non-lval-derefmut.stderr b/tests/ui/typeck/assign-non-lval-derefmut.stderr
index e394cf820..b26d16da0 100644
--- a/tests/ui/typeck/assign-non-lval-derefmut.stderr
+++ b/tests/ui/typeck/assign-non-lval-derefmut.stderr
@@ -30,7 +30,7 @@ error[E0308]: mismatched types
LL | let mut y = x.lock().unwrap();
| ----------------- expected due to this value
LL | y = 2;
- | ^ expected struct `MutexGuard`, found integer
+ | ^ expected `MutexGuard<'_, usize>`, found integer
|
= note: expected struct `MutexGuard<'_, usize>`
found type `{integer}`