1 error[E0499]: cannot borrow `*arg` as mutable more than once at a time
2 --> $DIR/mut-borrow-in-loop.rs:20:25
4 LL | (self.func)(arg) //~ ERROR cannot borrow
5 | ^^^ mutable borrow starts here in previous iteration of loop
8 | - mutable borrow ends here
10 error[E0499]: cannot borrow `*arg` as mutable more than once at a time
11 --> $DIR/mut-borrow-in-loop.rs:26:25
13 LL | (self.func)(arg) //~ ERROR cannot borrow
14 | ^^^ mutable borrow starts here in previous iteration of loop
17 | - mutable borrow ends here
19 error[E0499]: cannot borrow `*arg` as mutable more than once at a time
20 --> $DIR/mut-borrow-in-loop.rs:33:25
22 LL | (self.func)(arg) //~ ERROR cannot borrow
23 | ^^^ mutable borrow starts here in previous iteration of loop
26 | - mutable borrow ends here
28 error: aborting due to 3 previous errors
30 For more information about this error, try `rustc --explain E0499`.