← Quit0 / 0 correct
RustHard1 of 688

Why does this fail to compile?

let mut v = vec![1, 2, 3];
for x in &v {
    if *x == 2 { v.push(5); }
}