1 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
2 --> $DIR/infinite_loop.rs:23:11
7 = note: `#[deny(clippy::while_immutable_condition)]` on by default
9 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
10 --> $DIR/infinite_loop.rs:28:11
12 LL | while y < 10 && x < 3 {
15 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
16 --> $DIR/infinite_loop.rs:35:11
21 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
22 --> $DIR/infinite_loop.rs:79:11
27 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
28 --> $DIR/infinite_loop.rs:84:11
30 LL | while i < 3 && j > 0 {
33 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
34 --> $DIR/infinite_loop.rs:88:11
39 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
40 --> $DIR/infinite_loop.rs:103:11
45 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
46 --> $DIR/infinite_loop.rs:108:11
51 error: Variable in the condition are not mutated in the loop body. This either leads to an infinite or to a never running loop.
52 --> $DIR/infinite_loop.rs:174:15
54 LL | while self.count < n {
57 error: aborting due to 9 previous errors