bring back plural 'alternatives' in suggestion message

This commit is contained in:
Karol Zwolak
2025-10-02 20:24:34 +02:00
parent 5a8f963426
commit d1d7b9472a
5 changed files with 6 additions and 6 deletions

View File

@@ -2961,7 +2961,7 @@ impl<'a> Parser<'a> {
if let CommaRecoveryMode::EitherTupleOrPipe = rt {
err.span_suggestion(
comma_span,
"...or a vertical bar to match on alternative",
"...or a vertical bar to match on alternatives",
" |",
Applicability::MachineApplicable,
);