]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/mut/mut-suggestion.rs
10 //~^ HELP consider changing this to be mutable
11 //~| SUGGESTION mut arg
13 //~^ ERROR cannot borrow `arg` as mutable, as it is not declared as mutable
18 //~^ HELP consider changing this to be mutable
19 //~| SUGGESTION mut local
21 //~^ ERROR cannot borrow `local` as mutable, as it is not declared as mutable