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
hir_analysis_closure_implicit_hrtb = implicit types in closure signatures are forbidden when `for<...>` is present
35
35
.label = `for<...>` is here
36
36
37
+
hir_analysis_coerce_unsized_may = the trait `CoerceUnsized` may only be implemented for a coercion between structures
38
+
39
+
hir_analysis_coerce_unsized_multi = implementing the trait `CoerceUnsized` requires multiple coercions
40
+
.note = `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced
41
+
.coercions_note = currently, {$number} fields need coercions: {$coercions}
42
+
.label = requires multiple coercions
43
+
44
+
hir_analysis_coerce_unsized_one_field = the trait `CoerceUnsized` may only be implemented for a coercion between structures with one field being coerced, none found
45
+
37
46
hir_analysis_const_bound_for_non_const_trait =
38
47
~const can only be applied to `#[const_trait]` traits
the trait `Copy` cannot be implemented for this type; the type has a destructor
58
67
.label = `Copy` not allowed on types with destructors
59
68
69
+
hir_analysis_dispatch_from_dyn_coercion = the trait `DispatchFromDyn` may only be implemented for a coercion between structures with the same definition; expected `{$source_path}`, found `{$target_path}`
70
+
71
+
hir_analysis_dispatch_from_dyn_multi = implementing the `DispatchFromDyn` trait requires multiple coercions
72
+
.note = the trait `DispatchFromDyn` may only be implemented for a coercion between structures with a single field being coerced
73
+
.coercions_note = currently, {$number} fields need coercions: {$coercions}
74
+
75
+
hir_analysis_dispatch_from_dyn_repr = structs implementing `DispatchFromDyn` may not have `#[repr(packed)]` or `#[repr(C)]`
76
+
77
+
hir_analysis_dispatch_from_dyn_same = the trait `CoerceUnsized` may only be implemented for a coercion between structures with the same definition; expected `{$source_path}`, found `{$target_path}`
78
+
79
+
hir_analysis_dispatch_from_dyn_single = the trait `DispatchFromDyn` may only be implemented for a coercion between structures with a single field being coerced, none found
80
+
81
+
hir_analysis_dispatch_from_dyn_struct = the trait `DispatchFromDyn` may only be implemented for a coercion between structures
82
+
83
+
hir_analysis_dispatch_from_dyn_zst = the trait `DispatchFromDyn` may only be implemented for structs containing the field being coerced, ZST fields with 1 byte alignment, and nothing else
84
+
.note = extra field `{$name}` of type `{$ty}` is not allowed
85
+
60
86
hir_analysis_drop_impl_negative = negative `Drop` impls are not supported
61
87
62
88
hir_analysis_drop_impl_on_wrong_item =
@@ -200,6 +226,7 @@ hir_analysis_pass_to_variadic_function = can't pass `{$ty}` to variadic function
200
226
hir_analysis_placeholder_not_allowed_item_signatures = the placeholder `_` is not allowed within types on item signatures for {$kind}
201
227
.label = not allowed in type signatures
202
228
229
+
hir_analysis_requires_note = the `{$trait_name}` impl for `{$ty}` requires that `{$error_predicate}`
0 commit comments