rust/tests/ui/lint/lint-change-warnings.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
979 B
Plaintext
Raw Normal View History

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