1 error[E0506]: cannot assign to `a.y` because it is borrowed
5 | -- `a.y` is borrowed here
8 | - borrow occurs due to use in closure
11 | ^^^^^^^ `a.y` is assigned to here but it was already borrowed
14 | - borrow later used here
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0506`.