1
Fork 0

Rollup merge of #108477 - y21:replace-semi-with-comma-sugg, r=compiler-errors

Make `match` arm comma suggestion more clear

Fixes #108472
This commit is contained in:
Matthias Krüger 2023-02-27 06:11:53 +01:00 committed by GitHub
commit 69b1b94d0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View file

@ -220,7 +220,7 @@ parse_match_arm_body_without_braces = `match` arm body without braces
[one] statement
*[other] statements
} with a body
.suggestion_use_comma_not_semicolon = use a comma to end a `match` arm expression
.suggestion_use_comma_not_semicolon = replace `;` with `,` to end a `match` arm expression
parse_inclusive_range_extra_equals = unexpected `=` after inclusive range
.suggestion_remove_eq = use `..=` instead