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 `{$trait_name}` 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
+
46
+
hir_analysis_coercion_between_struct_same_note = the same definition; expected `{$source_path}`, found `{$target_path}`
47
+
48
+
hir_analysis_coercion_between_struct_single_note = a single field being coerced, none found
49
+
37
50
hir_analysis_const_bound_for_non_const_trait =
38
51
~const can only be applied to `#[const_trait]` traits
the trait `Copy` cannot be implemented for this type; the type has a destructor
58
71
.label = `Copy` not allowed on types with destructors
59
72
73
+
hir_analysis_dispatch_from_dyn_multi = implementing the `DispatchFromDyn` trait requires multiple coercions
74
+
.note = the trait `DispatchFromDyn` may only be implemented for a coercion between structures with a single field being coerced
75
+
.coercions_note = currently, {$number} fields need coercions: {$coercions}
76
+
77
+
hir_analysis_dispatch_from_dyn_repr = structs implementing `DispatchFromDyn` may not have `#[repr(packed)]` or `#[repr(C)]`
78
+
79
+
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
80
+
.note = extra field `{$name}` of type `{$ty}` is not allowed
81
+
60
82
hir_analysis_drop_impl_negative = negative `Drop` impls are not supported
61
83
62
84
hir_analysis_drop_impl_on_wrong_item =
@@ -228,6 +250,8 @@ hir_analysis_pass_to_variadic_function = can't pass `{$ty}` to variadic function
228
250
hir_analysis_placeholder_not_allowed_item_signatures = the placeholder `_` is not allowed within types on item signatures for {$kind}
229
251
.label = not allowed in type signatures
230
252
253
+
hir_analysis_requires_note = the `{$trait_name}` impl for `{$ty}` requires that `{$error_predicate}`
0 commit comments