2018-08-08 07:28:26 -05:00
|
|
|
error: denote infinite loops with `loop { ... }`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint-change-warnings.rs:5:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | while true {}
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^ help: use `loop`
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint-change-warnings.rs:1:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(warnings)]
|
|
|
|
| ^^^^^^^^
|
|
|
|
= note: #[deny(while_true)] implied by #[deny(warnings)]
|
|
|
|
|
|
|
|
warning: denote infinite loops with `loop { ... }`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint-change-warnings.rs:15:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | while true {}
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^ help: use `loop`
|
|
|
|
|
|
|
|
|
= note: #[warn(while_true)] on by default
|
|
|
|
|
|
|
|
error: denote infinite loops with `loop { ... }`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint-change-warnings.rs:20:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | while true {}
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^ help: use `loop`
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/lint-change-warnings.rs:18:10
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[forbid(warnings)]
|
|
|
|
| ^^^^^^^^
|
|
|
|
= note: #[forbid(while_true)] implied by #[forbid(warnings)]
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|