diff options
| author | Karol Zwolak <karolzwolak7@gmail.com> | 2025-10-02 20:24:34 +0200 |
|---|---|---|
| committer | Karol Zwolak <karolzwolak7@gmail.com> | 2025-10-02 20:24:34 +0200 |
| commit | d1d7b9472a18780499162b4a91beea729bc2c13b (patch) | |
| tree | ea17cce2d0f79f5a64041337c964940922804700 /tests/ui/parser | |
| parent | 5a8f963426c72c5bd306b2620a6c148b720217d0 (diff) | |
| download | rust-d1d7b9472a18780499162b4a91beea729bc2c13b.tar.gz rust-d1d7b9472a18780499162b4a91beea729bc2c13b.zip | |
bring back plural 'alternatives' in suggestion message
Diffstat (limited to 'tests/ui/parser')
| -rw-r--r-- | tests/ui/parser/match-arm-without-body.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/parser/match-arm-without-body.stderr b/tests/ui/parser/match-arm-without-body.stderr index 85ff7db8d4a..59a323f2cc1 100644 --- a/tests/ui/parser/match-arm-without-body.stderr +++ b/tests/ui/parser/match-arm-without-body.stderr @@ -16,7 +16,7 @@ help: try adding parentheses to match on a tuple... | LL | (Some(_),) | + + -help: ...or a vertical bar to match on alternative +help: ...or a vertical bar to match on alternatives | LL - Some(_), LL + Some(_) | @@ -36,7 +36,7 @@ LL | LL | LL ~ _) => {} | -help: ...or a vertical bar to match on alternative +help: ...or a vertical bar to match on alternatives | LL - Some(_), LL + Some(_) | |
