]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-impl-fn.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / lint-impl-fn.stderr
1 error: denote infinite loops with `loop { ... }`
2   --> $DIR/lint-impl-fn.rs:10:21
3    |
4 LL |     fn bar(&self) { while true {} }
5    |                     ^^^^^^^^^^ help: use `loop`
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-impl-fn.rs:9:12
9    |
10 LL |     #[deny(while_true)]
11    |            ^^^^^^^^^^
12
13 error: denote infinite loops with `loop { ... }`
14   --> $DIR/lint-impl-fn.rs:18:25
15    |
16 LL |         fn foo(&self) { while true {} }
17    |                         ^^^^^^^^^^ help: use `loop`
18    |
19 note: the lint level is defined here
20   --> $DIR/lint-impl-fn.rs:13:8
21    |
22 LL | #[deny(while_true)]
23    |        ^^^^^^^^^^
24
25 error: denote infinite loops with `loop { ... }`
26   --> $DIR/lint-impl-fn.rs:27:5
27    |
28 LL |     while true {}
29    |     ^^^^^^^^^^ help: use `loop`
30    |
31 note: the lint level is defined here
32   --> $DIR/lint-impl-fn.rs:25:8
33    |
34 LL | #[deny(while_true)]
35    |        ^^^^^^^^^^
36
37 error: aborting due to 3 previous errors
38