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
.note1 = functions with the `{$abi}` ABI must pass their result via the available return registers
86
86
.note2 = the result must either be a (transparently wrapped) i64, u64 or f64, or be at most 4 bytes in size
87
87
88
+
hir_analysis_coerce_pointee_cannot_coerce_unsize = `{$ty}` cannot be coerced to an unsized type
89
+
.note = `derive(CoercePointee)` demands that `{$ty}` can be coerced to an unsized type
90
+
.help = the standard pointers such as `Arc`, `Rc`, `Box`, and other types with `derive(CoercePointee)` can be coerced to their corresponding unsized types
91
+
92
+
hir_analysis_coerce_pointee_cannot_unsize = `{$ty}` cannot be coerced to any unsized value
93
+
.note = `derive(CoercePointee)` demands that `{$ty}` can be coerced to an unsized type
94
+
.help = `derive(CoercePointee)` requires exactly one copy of `#[pointee]` type at the end of the `struct` definition, without any further pointer or reference indirection
95
+
96
+
hir_analysis_coerce_pointee_multiple_targets = `derive(CoercePointee)` only admits exactly one data field, {$diag_trait->
97
+
[DispatchFromDyn] to which `dyn` methods shall be dispatched
98
+
*[CoerceUnsized] on which unsize coercion shall be performed
99
+
}
100
+
88
101
hir_analysis_coerce_pointee_no_field = `CoercePointee` can only be derived on `struct`s with at least one field
89
102
90
103
hir_analysis_coerce_pointee_no_user_validity_assertion = asserting applicability of `derive(CoercePointee)` on a target data is forbidden
0 commit comments