1error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable 2 --> $DIR/issue-34126.rs:6:18 3 | 4LL | self.run(&mut self); 5 | ^^^^^^^^^ cannot borrow as mutable 6 | 7note: the binding is already a mutable borrow 8 --> $DIR/issue-34126.rs:5:14 9 | 10LL | fn start(&mut self) { 11 | ^^^^^^^^^ 12help: try removing `&mut` here 13 | 14LL - self.run(&mut self); 15LL + self.run(self); 16 | 17 18error[E0502]: cannot borrow `self` as mutable because it is also borrowed as immutable 19 --> $DIR/issue-34126.rs:6:18 20 | 21LL | self.run(&mut self); 22 | ---------^^^^^^^^^- 23 | | | | 24 | | | mutable borrow occurs here 25 | | immutable borrow later used by call 26 | immutable borrow occurs here 27 28error: aborting due to 2 previous errors 29 30Some errors have detailed explanations: E0502, E0596. 31For more information about an error, try `rustc --explain E0502`. 32