1 error: all variables in condition are immutable. This might lead to infinite loops.
2 --> $DIR/infinite_loop.rs:9:11
7 = note: `-D while-immutable-condition` implied by `-D warnings`
9 error: all variables in condition are immutable. This might lead to infinite loops.
10 --> $DIR/infinite_loop.rs:14:11
12 14 | while y < 10 && x < 3 {
15 error: all variables in condition are immutable. This might lead to infinite loops.
16 --> $DIR/infinite_loop.rs:19:11
21 error: aborting due to 3 previous errors