]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/issue-68049-2.rs
2 fn example(&self, input
: &i32); // should suggest here
8 fn example(&self, input
: &i32) { // should not suggest here
9 *input
= self.0; //~ ERROR cannot assign
15 impl Hello
for Test2
{
16 fn example(&self, input
: &i32) { // should not suggest here
17 self.0 += *input
; //~ ERROR cannot assign