Skip to content

Commit 4a2830f

Browse files
Update compiler/rustc_hir_typeck/messages.ftl
Co-authored-by: Jubilee <[email protected]>
1 parent 65598c8 commit 4a2830f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/messages.ftl

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ hir_typeck_option_result_asref = use `{$def_path}::as_ref` to convert `{$expecte
139139
hir_typeck_option_result_cloned = use `{$def_path}::cloned` to clone the value inside the `{$def_path}`
140140
hir_typeck_option_result_copied = use `{$def_path}::copied` to copy the value inside the `{$def_path}`
141141
142-
hir_typeck_pass_to_variadic_function = can't pass `{$ty}` to variadic function
142+
hir_typeck_pass_to_variadic_function = can't pass `{$ty}` into variable arguments
143143
.suggestion = cast the value to `{$cast_ty}`
144144
.help = cast the value to `{$cast_ty}`
145145
.teach_help = certain types, like `{$ty}`, must be casted before passing them to a variadic function, because of arcane ABI rules dictated by the C standard

0 commit comments

Comments
 (0)