|
1 | 1 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
2 | | - --> $DIR/issue-37576.rs:3:11 |
| 2 | + --> $DIR/break-continue-in-loop-while-condition.rs:6:11 |
3 | 3 | | |
4 | 4 | LL | while break {} |
5 | 5 | | ^^^^^ unlabeled `break` in the condition of a `while` loop |
6 | 6 |
|
7 | 7 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
8 | | - --> $DIR/issue-37576.rs:7:22 |
| 8 | + --> $DIR/break-continue-in-loop-while-condition.rs:10:22 |
9 | 9 | | |
10 | 10 | LL | while let true = break {} |
11 | 11 | | ^^^^^ unlabeled `break` in the condition of a `while` loop |
12 | 12 |
|
13 | 13 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
14 | | - --> $DIR/issue-37576.rs:11:18 |
| 14 | + --> $DIR/break-continue-in-loop-while-condition.rs:17:15 |
15 | 15 | | |
16 | | -LL | loop { while break {} } |
17 | | - | ^^^^^ unlabeled `break` in the condition of a `while` loop |
| 16 | +LL | while break {} |
| 17 | + | ^^^^^ unlabeled `break` in the condition of a `while` loop |
18 | 18 |
|
19 | 19 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
20 | | - --> $DIR/issue-37576.rs:19:15 |
| 20 | + --> $DIR/break-continue-in-loop-while-condition.rs:26:15 |
21 | 21 | | |
22 | 22 | LL | while break {} |
23 | 23 | | ^^^^^ unlabeled `break` in the condition of a `while` loop |
24 | 24 |
|
25 | 25 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
26 | | - --> $DIR/issue-37576.rs:25:11 |
| 26 | + --> $DIR/break-continue-in-loop-while-condition.rs:32:11 |
27 | 27 | | |
28 | 28 | LL | while continue {} |
29 | 29 | | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop |
30 | 30 |
|
31 | 31 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
32 | | - --> $DIR/issue-37576.rs:29:22 |
| 32 | + --> $DIR/break-continue-in-loop-while-condition.rs:36:22 |
33 | 33 | | |
34 | 34 | LL | while let true = continue {} |
35 | 35 | | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop |
36 | 36 |
|
37 | 37 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
38 | | - --> $DIR/issue-37576.rs:33:18 |
| 38 | + --> $DIR/break-continue-in-loop-while-condition.rs:43:15 |
39 | 39 | | |
40 | | -LL | loop { while continue {} } |
41 | | - | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop |
| 40 | +LL | while continue {} |
| 41 | + | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop |
42 | 42 |
|
43 | 43 | error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
44 | | - --> $DIR/issue-37576.rs:41:15 |
| 44 | + --> $DIR/break-continue-in-loop-while-condition.rs:52:15 |
45 | 45 | | |
46 | 46 | LL | while continue {} |
47 | 47 | | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop |
48 | 48 |
|
49 | | -error: aborting due to 8 previous errors |
| 49 | +error[E0590]: `break` or `continue` with no label in the condition of a `while` loop |
| 50 | + --> $DIR/break-continue-in-loop-while-condition.rs:61:21 |
| 51 | + | |
| 52 | +LL | break while continue { |
| 53 | + | ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop |
| 54 | + |
| 55 | +error: aborting due to 9 previous errors |
50 | 56 |
|
51 | 57 | For more information about this error, try `rustc --explain E0590`. |
0 commit comments