1 error[E0596]: cannot borrow `arg` as mutable, as it is not declared as mutable
2 --> $DIR/mut-suggestion.rs:12:5
5 | ^^^^^^^^^^^^ cannot borrow as mutable
7 help: consider changing this to be mutable
9 LL | fn func(mut arg: S) {
12 error[E0596]: cannot borrow `local` as mutable, as it is not declared as mutable
13 --> $DIR/mut-suggestion.rs:20:5
16 | ^^^^^^^^^^^^^^ cannot borrow as mutable
18 help: consider changing this to be mutable
20 LL | let mut local = S;
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0596`.