summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/retain-resume-ref.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/retain-resume-ref.stderr')
-rw-r--r--tests/ui/generator/retain-resume-ref.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/generator/retain-resume-ref.stderr b/tests/ui/generator/retain-resume-ref.stderr
index e33310d12..7122a951e 100644
--- a/tests/ui/generator/retain-resume-ref.stderr
+++ b/tests/ui/generator/retain-resume-ref.stderr
@@ -1,5 +1,5 @@
error[E0499]: cannot borrow `thing` as mutable more than once at a time
- --> $DIR/retain-resume-ref.rs:23:25
+ --> $DIR/retain-resume-ref.rs:27:25
|
LL | gen.as_mut().resume(&mut thing);
| ---------- first mutable borrow occurs here