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
the `naked_asm!` macro can only be used in functions marked with `#[unsafe(naked)]`
142
142
143
+
hir_typeck_naked_functions_asm_block =
144
+
naked functions must contain a single `naked_asm!` invocation
145
+
.label_multiple_asm = multiple `naked_asm!` invocations are not allowed in naked functions
146
+
.label_non_asm = not allowed in naked functions
147
+
148
+
hir_typeck_naked_functions_must_naked_asm =
149
+
the `asm!` macro is not allowed in naked functions
150
+
.label = consider using the `naked_asm!` macro instead
151
+
143
152
hir_typeck_never_type_fallback_flowing_into_unsafe_call = never type fallback affects this call to an `unsafe` function
144
153
.help = specify the type explicitly
145
154
hir_typeck_never_type_fallback_flowing_into_unsafe_deref = never type fallback affects this raw pointer dereference
@@ -162,6 +171,9 @@ hir_typeck_no_field_on_variant = no field named `{$field}` on enum variant `{$co
162
171
hir_typeck_no_field_on_variant_enum = this enum variant...
163
172
hir_typeck_no_field_on_variant_field = ...does not have this field
164
173
174
+
hir_typeck_no_patterns =
175
+
patterns not allowed in naked function parameters
176
+
165
177
hir_typeck_note_caller_chooses_ty_for_ty_param = the caller chooses a type for `{$ty_param_name}` which can be different from `{$found_ty}`
166
178
167
179
hir_typeck_note_edition_guide = for more on editions, read https://doc.rust-lang.org/edition-guide
@@ -170,6 +182,10 @@ hir_typeck_option_result_asref = use `{$def_path}::as_ref` to convert `{$expecte
170
182
hir_typeck_option_result_cloned = use `{$def_path}::cloned` to clone the value inside the `{$def_path}`
171
183
hir_typeck_option_result_copied = use `{$def_path}::copied` to copy the value inside the `{$def_path}`
172
184
185
+
hir_typeck_params_not_allowed =
186
+
referencing function parameters is not allowed in naked functions
187
+
.help = follow the calling convention in asm block to use parameters
188
+
173
189
hir_typeck_pass_to_variadic_function = can't pass `{$ty}` to variadic function
174
190
.suggestion = cast the value to `{$cast_ty}`
175
191
.teach_help = certain types, like `{$ty}`, must be cast before passing them to a variadic function to match the implicit cast that a C compiler would perform as part of C's numeric promotion rules
.note = since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
604
592
.help = using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
605
593
606
-
passes_params_not_allowed =
607
-
referencing function parameters is not allowed in naked functions
608
-
.help = follow the calling convention in asm block to use parameters
0 commit comments