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