about summary refs log tree commit diff
path: root/tests/ui/coroutine/yield-while-ref-reborrowed.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coroutine/yield-while-ref-reborrowed.stderr')
-rw-r--r--tests/ui/coroutine/yield-while-ref-reborrowed.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/coroutine/yield-while-ref-reborrowed.stderr b/tests/ui/coroutine/yield-while-ref-reborrowed.stderr
index 62ac0265311..7c9b766457d 100644
--- a/tests/ui/coroutine/yield-while-ref-reborrowed.stderr
+++ b/tests/ui/coroutine/yield-while-ref-reborrowed.stderr
@@ -1,8 +1,8 @@
 error[E0501]: cannot borrow `x` as immutable because previous closure requires unique access
-  --> $DIR/yield-while-ref-reborrowed.rs:36:20
+  --> $DIR/yield-while-ref-reborrowed.rs:39:20
    |
-LL |     let mut b = || {
-   |                 -- coroutine construction occurs here
+LL |     || {
+   |     -- coroutine construction occurs here
 LL |         let a = &mut *x;
    |                      -- first borrow occurs due to use of `x` in coroutine
 ...