1 error: variables in the condition are not mutated in the loop body
2 --> $DIR/infinite_loop.rs:21:11
7 = note: `#[deny(clippy::while_immutable_condition)]` on by default
8 = note: this may lead to an infinite or to a never running loop
10 error: variables in the condition are not mutated in the loop body
11 --> $DIR/infinite_loop.rs:26:11
13 LL | while y < 10 && x < 3 {
16 = note: this may lead to an infinite or to a never running loop
18 error: variables in the condition are not mutated in the loop body
19 --> $DIR/infinite_loop.rs:33:11
24 = note: this may lead to an infinite or to a never running loop
26 error: variables in the condition are not mutated in the loop body
27 --> $DIR/infinite_loop.rs:77:11
32 = note: this may lead to an infinite or to a never running loop
34 error: variables in the condition are not mutated in the loop body
35 --> $DIR/infinite_loop.rs:82:11
37 LL | while i < 3 && j > 0 {
40 = note: this may lead to an infinite or to a never running loop
42 error: variables in the condition are not mutated in the loop body
43 --> $DIR/infinite_loop.rs:86:11
48 = note: this may lead to an infinite or to a never running loop
50 error: variables in the condition are not mutated in the loop body
51 --> $DIR/infinite_loop.rs:101:11
56 = note: this may lead to an infinite or to a never running loop
58 error: variables in the condition are not mutated in the loop body
59 --> $DIR/infinite_loop.rs:106:11
64 = note: this may lead to an infinite or to a never running loop
66 error: variables in the condition are not mutated in the loop body
67 --> $DIR/infinite_loop.rs:172:15
69 LL | while self.count < n {
72 = note: this may lead to an infinite or to a never running loop
74 error: variables in the condition are not mutated in the loop body
75 --> $DIR/infinite_loop.rs:180:11
80 = note: this may lead to an infinite or to a never running loop
81 = note: this loop contains `return`s or `break`s
82 = help: rewrite it as `if cond { loop { } }`
84 error: variables in the condition are not mutated in the loop body
85 --> $DIR/infinite_loop.rs:187:11
90 = note: this may lead to an infinite or to a never running loop
91 = note: this loop contains `return`s or `break`s
92 = help: rewrite it as `if cond { loop { } }`
94 error: aborting due to 11 previous errors