4 fn bar(self: &mut Self) {
5 //~^ WARN function cannot return without recursing
7 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]
12 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]
21 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]
22 //~^^ ERROR cannot borrow data in a `&` reference as mutable [E0596]
25 fn mtblref(&mut self) {
27 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]