1 error[E0596]: cannot borrow immutable argument `self` as mutable
2 --> $DIR/issue-31424.rs:17:15
4 17 | (&mut self).bar();
7 | try removing `&mut` here
8 | cannot reborrow mutably
10 error[E0596]: cannot borrow immutable argument `self` as mutable
11 --> $DIR/issue-31424.rs:23:15
13 22 | fn bar(self: &mut Self) {
14 | ---- consider changing this to `mut self`
15 23 | (&mut self).bar();
16 | ^^^^ cannot borrow mutably
18 error: aborting due to 2 previous errors