about summary refs log tree commit diff
path: root/tests/ui/parser
diff options
context:
space:
mode:
authorKarol Zwolak <karolzwolak7@gmail.com>2025-10-02 20:24:34 +0200
committerKarol Zwolak <karolzwolak7@gmail.com>2025-10-02 20:24:34 +0200
commitd1d7b9472a18780499162b4a91beea729bc2c13b (patch)
treeea17cce2d0f79f5a64041337c964940922804700 /tests/ui/parser
parent5a8f963426c72c5bd306b2620a6c148b720217d0 (diff)
downloadrust-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.stderr4
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(_) |