We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cefee0 commit 40d7164Copy full SHA for 40d7164
src/librustc_passes/diagnostics.rs
@@ -218,12 +218,16 @@ E0590: r##"
218
Example of erroneous code:
219
220
```compile_fail
221
-while break {}
+loop {
222
+ while break {}
223
+}
224
```
225
226
To fix this, add a label specifying which loop is being broken out of:
227
-'foo: while break 'foo {}
228
+'foo: loop {
229
+ while break 'foo {}
230
231
232
"##,
233
0 commit comments