8 let Wrap(x) = &Wrap(3);
9 *x += 1; //~ ERROR cannot assign to `*x`, which is behind a `&` reference
12 if let Some(x) = &Some(3) {
13 *x += 1; //~ ERROR cannot assign to `*x`, which is behind a `&` reference
18 while let Some(x) = &Some(3) {
19 *x += 1; //~ ERROR cannot assign to `*x`, which is behind a `&` reference