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 9f3b6e9 commit 036a010Copy full SHA for 036a010
tests/ui/never_loop.stderr
@@ -114,5 +114,17 @@ LL | | break x;
114
LL | | };
115
| |_____^
116
117
-error: aborting due to 10 previous errors
+error: this loop never actually loops
118
+ --> $DIR/never_loop.rs:244:5
119
+ |
120
+LL | / 'a: loop {
121
+LL | | 'b: {
122
+LL | | break 'b 'c: {
123
+LL | | break 'a;
124
+LL | | };
125
+LL | | }
126
127
+ | |_____^
128
+
129
+error: aborting due to 11 previous errors
130
0 commit comments