You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -138,6 +139,11 @@ hir_typeck_option_result_asref = use `{$def_path}::as_ref` to convert `{$expecte
138
139
hir_typeck_option_result_cloned = use `{$def_path}::cloned` to clone the value inside the `{$def_path}`
139
140
hir_typeck_option_result_copied = use `{$def_path}::copied` to copy the value inside the `{$def_path}`
140
141
142
+
hir_typeck_pass_to_variadic_function = can't pass `{$ty}` to variadic function
143
+
.suggestion = cast the value to `{$cast_ty}`
144
+
.help = cast the value to `{$cast_ty}`
145
+
.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