1 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2 --> $DIR/issue-37576.rs:3:11
5 | ^^^^^ unlabeled `break` in the condition of a `while` loop
7 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
8 --> $DIR/issue-37576.rs:7:22
10 LL | while let true = break {}
11 | ^^^^^ unlabeled `break` in the condition of a `while` loop
13 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
14 --> $DIR/issue-37576.rs:11:18
16 LL | loop { while break {} }
17 | ^^^^^ unlabeled `break` in the condition of a `while` loop
19 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
20 --> $DIR/issue-37576.rs:19:15
23 | ^^^^^ unlabeled `break` in the condition of a `while` loop
25 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
26 --> $DIR/issue-37576.rs:25:11
28 LL | while continue {}
29 | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
31 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
32 --> $DIR/issue-37576.rs:29:22
34 LL | while let true = continue {}
35 | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
37 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
38 --> $DIR/issue-37576.rs:33:18
40 LL | loop { while continue {} }
41 | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
43 error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
44 --> $DIR/issue-37576.rs:41:15
46 LL | while continue {}
47 | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
49 error: aborting due to 8 previous errors
51 For more information about this error, try `rustc --explain E0590`.