Skip to content

Commit 036a010

Browse files
committed
update tests
1 parent 9f3b6e9 commit 036a010

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

tests/ui/never_loop.stderr

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,17 @@ LL | | break x;
114114
LL | | };
115115
| |_____^
116116

117-
error: aborting due to 10 previous errors
117+
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+
LL | | }
127+
| |_____^
128+
129+
error: aborting due to 11 previous errors
118130

0 commit comments

Comments
 (0)