]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-51515.rs
3 //~^ HELP consider changing this to be a mutable reference
4 //~| SUGGESTION &mut 16
6 //~^ ERROR cannot assign to `*foo`, which is behind a `&` reference
8 //~^ HELP consider changing this to be a mutable reference
9 //~| SUGGESTION &mut i32
11 //~^ ERROR cannot assign to `*bar`, which is behind a `&` reference