summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-77218/issue-77218-2.fixed
blob: 0e835d49c6d584b3509568de092b70eb21192733 (plain)
1
2
3
4
5
6
// run-rustfix
fn main() {
    let value = [7u8];
    while let Some(0) = value.get(0) { //~ ERROR invalid left-hand side of assignment
    }
}