about summary refs log tree commit diff
diff options
context:
space:
mode:
authorickk <git@ickk.io>2023-04-07 17:42:17 +1000
committerickk <git@ickk.io>2023-04-07 17:42:17 +1000
commit726598ed9ad7d1566e5a6d915673a22b907c3552 (patch)
treeea1fcc5e049c754bdc80589166cbf025cc618436
parent32ea4bb9e3785ae76660b1303e821255c02aad1a (diff)
downloadrust-726598ed9ad7d1566e5a6d915673a22b907c3552.tar.gz
rust-726598ed9ad7d1566e5a6d915673a22b907c3552.zip
fix infer_source_kind_subdiag_let help message - remove double "the"
-rw-r--r--compiler/rustc_infer/messages.ftl4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_infer/messages.ftl b/compiler/rustc_infer/messages.ftl
index 15780898dc6..1e43644be89 100644
--- a/compiler/rustc_infer/messages.ftl
+++ b/compiler/rustc_infer/messages.ftl
@@ -30,8 +30,8 @@ infer_source_kind_subdiag_let = {$kind ->
 }{$x_kind ->
     [has_name] , where the {$prefix_kind ->
         *[type] type for {$prefix}
-        [const_with_param] the value of const parameter
-        [const] the value of the constant
+        [const_with_param] value of const parameter
+        [const] value of the constant
     } `{$arg_name}` is specified
     [underscore] , where the placeholders `_` are specified
     *[empty] {""}