]> git.proxmox.com Git - rustc.git/blobdiff - compiler/rustc_error_messages/locales/en-US/hir_typeck.ftl
New upstream version 1.68.2+dfsg1
[rustc.git] / compiler / rustc_error_messages / locales / en-US / hir_typeck.ftl
index 0612dbae0b63029c0a3fd75e8bba92d1872c6d92..ca72b7faa9289b64f3f069e6adb0c07265347b8c 100644 (file)
@@ -46,3 +46,14 @@ hir_typeck_add_missing_parentheses_in_range = you must surround the range in par
 
 hir_typeck_op_trait_generic_params =
     `{$method_name}` must not have any generic parameters
+
+hir_typeck_lang_start_incorrect_number_params = incorrect number of parameters for the `start` lang item
+hir_typeck_lang_start_incorrect_number_params_note_expected_count = the `start` lang item should have four parameters, but found {$found_param_count}
+
+hir_typeck_lang_start_expected_sig_note = the `start` lang item should have the signature `fn(fn() -> T, isize, *const *const u8, u8) -> isize`
+
+hir_typeck_lang_start_incorrect_param = parameter {$param_num} of the `start` lang item is incorrect
+    .suggestion = change the type from `{$found_ty}` to `{$expected_ty}`
+
+hir_typeck_lang_start_incorrect_ret_ty = the return type of the `start` lang item is incorrect
+    .suggestion = change the type from `{$found_ty}` to `{$expected_ty}`