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