1 error[E0524]: two closures require unique access to `x` at the same time
2 --> $DIR/borrowck-closures-mut-of-mut.rs:14:18
4 LL | let mut c1 = || set(&mut *x);
5 | -- -- first borrow occurs due to use of `x` in closure
7 | first closure is constructed here
8 LL | let mut c2 = || set(&mut *x);
9 | ^^ -- second borrow occurs due to use of `x` in closure
11 | second closure is constructed here
14 | -- first borrow later used here
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0524`.