1
Fork 0

Parser: Suggest Placing the Return Type After Function Parameters

This commit is contained in:
Veera 2024-07-04 19:19:15 -04:00
parent 5834772177
commit 4cad705017
6 changed files with 123 additions and 39 deletions

View file

@ -526,6 +526,8 @@ parse_mismatched_closing_delimiter = mismatched closing delimiter: `{$delimiter}
.label_opening_candidate = closing delimiter possibly meant for this
.label_unclosed = unclosed delimiter
parse_misplaced_return_type = place the return type after the function parameters
parse_missing_comma_after_match_arm = expected `,` following `match` arm
.suggestion = missing a comma here to end this `match` arm