10 arg.mutate(); //~ ERROR: cannot borrow `arg` as mutable, as it is not declared as mutable
14 fn method(&self, arg: S) {
15 arg.mutate(); //~ ERROR: cannot borrow `arg` as mutable, as it is not declared as mutable
20 fn default(&self, arg: S) {
21 arg.mutate(); //~ ERROR: cannot borrow `arg` as mutable, as it is not declared as mutable
32 (|arg: S| { arg.mutate() })(s);
33 //~^ ERROR: cannot borrow `arg` as mutable, as it is not declared as mutable