about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-12-18 19:56:14 -0800
committerCamelid <camelidcamel@gmail.com>2021-01-12 19:25:50 -0800
commita5e8e6ec2df58bd50963af57bbd08d0526f119db (patch)
tree16658205711b74d5b15d6245d9da8dce3122fde1 /src/test/ui/error-codes
parentf3d9df54ee682d0b76909d27938b30c51ca5ec70 (diff)
downloadrust-a5e8e6ec2df58bd50963af57bbd08d0526f119db.tar.gz
rust-a5e8e6ec2df58bd50963af57bbd08d0526f119db.zip
Pluralize 'parenthesis' correctly
It's 'parentheses', not 'parenthesis', when you have more than one.
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0023.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0023.stderr b/src/test/ui/error-codes/E0023.stderr
index 1d32eab15d3..965cf28c79f 100644
--- a/src/test/ui/error-codes/E0023.stderr
+++ b/src/test/ui/error-codes/E0023.stderr
@@ -43,7 +43,7 @@ LL |     Orange((String, String)),
 LL |         Fruit::Orange(a, b) => {},
    |         ^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
    |
-help: missing parenthesis
+help: missing parentheses
    |
 LL |         Fruit::Orange((a, b)) => {},
    |                       ^    ^
@@ -57,7 +57,7 @@ LL |     Banana(()),
 LL |         Fruit::Banana() => {},
    |         ^^^^^^^^^^^^^^^ expected 1 field, found 0
    |
-help: missing parenthesis
+help: missing parentheses
    |
 LL |         Fruit::Banana(()) => {},
    |                      ^  ^