6 fn bar(self: &mut Self) {
7 //~^ WARN function cannot return without recursing
9 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]
14 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]
23 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]
24 //~^^ ERROR cannot borrow data in a `&` reference as mutable [E0596]
27 fn mtblref(&mut self) {
29 //~^ ERROR cannot borrow `self` as mutable, as it is not declared as mutable [E0596]