1 error: denote infinite loops with `loop { ... }`
2 --> $DIR/lint-change-warnings.rs:5:5
5 | ^^^^^^^^^^ help: use `loop`
7 note: the lint level is defined here
8 --> $DIR/lint-change-warnings.rs:1:9
10 LL | #![deny(warnings)]
12 = note: `#[deny(while_true)]` implied by `#[deny(warnings)]`
14 warning: denote infinite loops with `loop { ... }`
15 --> $DIR/lint-change-warnings.rs:15:5
18 | ^^^^^^^^^^ help: use `loop`
20 = note: `#[warn(while_true)]` on by default
22 error: denote infinite loops with `loop { ... }`
23 --> $DIR/lint-change-warnings.rs:20:5
26 | ^^^^^^^^^^ help: use `loop`
28 note: the lint level is defined here
29 --> $DIR/lint-change-warnings.rs:18:10
31 LL | #[forbid(warnings)]
33 = note: `#[forbid(while_true)]` implied by `#[forbid(warnings)]`
35 error: aborting due to 2 previous errors