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