]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-37576.stderr
Consider privacy more carefully when suggesting accessing fields
[rust.git] / src / test / ui / issues / issue-37576.stderr
1 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2   --> $DIR/issue-37576.rs:3:11
3    |
4 LL |     while break {}
5    |           ^^^^^ unlabeled `break` in the condition of a `while` loop
6
7 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
8   --> $DIR/issue-37576.rs:7:22
9    |
10 LL |     while let true = break {}
11    |                      ^^^^^ unlabeled `break` in the condition of a `while` loop
12
13 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
14   --> $DIR/issue-37576.rs:11:18
15    |
16 LL |     loop { while break {} }
17    |                  ^^^^^ unlabeled `break` in the condition of a `while` loop
18
19 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
20   --> $DIR/issue-37576.rs:19:15
21    |
22 LL |         while break {}
23    |               ^^^^^ unlabeled `break` in the condition of a `while` loop
24
25 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
26   --> $DIR/issue-37576.rs:25:11
27    |
28 LL |     while continue {}
29    |           ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
30
31 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
32   --> $DIR/issue-37576.rs:29:22
33    |
34 LL |     while let true = continue {}
35    |                      ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
36
37 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
38   --> $DIR/issue-37576.rs:33:18
39    |
40 LL |     loop { while continue {} }
41    |                  ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
42
43 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
44   --> $DIR/issue-37576.rs:41:15
45    |
46 LL |         while continue {}
47    |               ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
48
49 error: aborting due to 8 previous errors
50
51 For more information about this error, try `rustc --explain E0590`.