summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-37576.stderr
blob: d19e1f45393a31a84c5851853a35f13742cdf9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:3:11
   |
LL |     while break {}
   |           ^^^^^ unlabeled `break` in the condition of a `while` loop

error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:7:22
   |
LL |     while let true = break {}
   |                      ^^^^^ unlabeled `break` in the condition of a `while` loop

error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:11:18
   |
LL |     loop { while break {} }
   |                  ^^^^^ unlabeled `break` in the condition of a `while` loop

error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:19:15
   |
LL |         while break {}
   |               ^^^^^ unlabeled `break` in the condition of a `while` loop

error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:25:11
   |
LL |     while continue {}
   |           ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop

error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:29:22
   |
LL |     while let true = continue {}
   |                      ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop

error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:33:18
   |
LL |     loop { while continue {} }
   |                  ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop

error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
  --> $DIR/issue-37576.rs:41:15
   |
LL |         while continue {}
   |               ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop

error: aborting due to 8 previous errors

For more information about this error, try `rustc --explain E0590`.