1 error[E0499]: cannot borrow `x` as mutable more than once at a time
2 --> $DIR/borrowck-autoref-3261.rs:15:9
5 | -------- ---- first borrow later used by call
7 | first mutable borrow occurs here
9 | ^^^^^ second mutable borrow occurs here
11 LL | x = X(Either::Left((0, 0)));
12 | - second borrow occurs due to use of `x` in closure
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0499`.