blob: 11005b8336fcae927cb51692ed303202ffd2039a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
`break` or `continue` keywords were used in a condition of a `while` loop
without a label.
Erroneous code code:
```compile_fail,E0590
while break {}
```
`break` or `continue` must include a label when used in the condition of a
`while` loop.
To fix this, add a label specifying which loop is being broken out of:
```
'foo: while break 'foo {}
```
|