1
Fork 0

Recover from missing expression in for loop

This commit is contained in:
Obei Sideg 2023-02-03 12:23:37 +03:00
parent 7f97aeaf73
commit 7a75278836
3 changed files with 30 additions and 0 deletions

View file

@ -128,6 +128,9 @@ parse_missing_in_in_for_loop = missing `in` in `for` loop
.use_in_not_of = try using `in` here instead
.add_in = try adding `in` here
parse_missing_expression_in_for_loop = missing expression to iterate on in `for` loop
.suggestion = try adding an expression to the `for` loop
parse_missing_comma_after_match_arm = expected `,` following `match` arm
.suggestion = missing a comma here to end this `match` arm