update tests

This commit is contained in:
Kartavya Vashishtha 2022-11-16 11:39:09 +05:30
parent 9f3b6e9acd
commit 036a0108ac
No known key found for this signature in database
GPG Key ID: A50012C2324E5DF0

View File

@ -114,5 +114,17 @@ LL | | break x;
LL | | };
| |_____^
error: aborting due to 10 previous errors
error: this loop never actually loops
--> $DIR/never_loop.rs:244:5
|
LL | / 'a: loop {
LL | | 'b: {
LL | | break 'b 'c: {
LL | | break 'a;
LL | | };
LL | | }
LL | | }
| |_____^
error: aborting due to 11 previous errors