about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_builtin_macros/messages.ftl5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/messages.ftl b/compiler/rustc_builtin_macros/messages.ftl
index ce3d07c59de..8f158fb17da 100644
--- a/compiler/rustc_builtin_macros/messages.ftl
+++ b/compiler/rustc_builtin_macros/messages.ftl
@@ -139,7 +139,10 @@ builtin_macros_format_positional_after_named = positional arguments cannot follo
 
 builtin_macros_format_remove_raw_ident = remove the `r#`
 
-builtin_macros_format_redundant_args = redundant argument
+builtin_macros_format_redundant_args = redundant {$n ->
+    [one] argument
+    *[more] arguments
+    }
     .help = {$n ->
         [one] the formatting string already captures the binding directly, it doesn't need to be included in the argument list
         *[more] the formatting strings already captures the bindings directly, they don't need to be included in the argument list