]>
git.proxmox.com Git - rustc.git/blob - tests/ui/destructuring-assignment/bad-expr-lhs.rs
2 1 = 2; //~ ERROR invalid left-hand side of assignment
3 1 += 2; //~ ERROR invalid left-hand side of assignment
5 //~^ ERROR invalid left-hand side of assignment
6 //~| ERROR invalid left-hand side of assignment
8 None
= Some(3); //~ ERROR invalid left-hand side of assignment