fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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