rust/src/test/ui/lint/lint-change-warnings.stderr

37 lines
946 B
Plaintext
Raw Normal View History

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)]`
2018-08-08 07:28:26 -05:00
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
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: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)]`
2018-08-08 07:28:26 -05:00
error: aborting due to 2 previous errors