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
@@ -330,12 +324,6 @@ mir_build_type_not_structural_more_info = see https://doc.rust-lang.org/stable/s
330
324
mir_build_type_not_structural_tip =
331
325
the `PartialEq` trait must be derived, manual `impl`s are not sufficient; see https://doc.rust-lang.org/stable/std/marker/trait.StructuralPartialEq.html for details
332
326
333
-
mir_build_unconditional_recursion = function cannot return without recursing
334
-
.label = cannot return without recursing
335
-
.help = a `loop` may express intention better if this is on purpose
336
-
337
-
mir_build_unconditional_recursion_call_site_label = recursive call site
338
-
339
327
mir_build_union_field_requires_unsafe =
340
328
access to union field is unsafe and requires unsafe block
341
329
.note = the field may not be properly initialized: using uninitialized data will cause undefined behavior
Copy file name to clipboardExpand all lines: compiler/rustc_mir_transform/messages.ftl
+12
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,12 @@ mir_transform_force_inline =
27
27
.callee = `{$callee}` defined here
28
28
.note = could not be inlined due to: {$reason}
29
29
30
+
mir_transform_force_inline_attr =
31
+
`{$callee}` is incompatible with `#[rustc_force_inline]`
32
+
.attr = annotation here
33
+
.callee = `{$callee}` defined here
34
+
.note = incompatible due to: {$reason}
35
+
30
36
mir_transform_force_inline_justification =
31
37
`{$callee}` is required to be inlined to: {$sym}
32
38
@@ -66,6 +72,12 @@ mir_transform_unaligned_packed_ref = reference to packed field is unaligned
66
72
.note_ub = creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
67
73
.help = copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)
68
74
75
+
mir_transform_unconditional_recursion = function cannot return without recursing
76
+
.label = cannot return without recursing
77
+
.help = a `loop` may express intention better if this is on purpose
78
+
79
+
mir_transform_unconditional_recursion_call_site_label = recursive call site
80
+
69
81
mir_transform_undefined_transmute = pointers cannot be transmuted to integers during const eval
70
82
.note = at compile-time, pointers do not have an integer value
71
83
.note2 = avoiding this restriction via `union` or raw pointers leads to compile-time undefined behavior
0 commit comments