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
Copy file name to clipboardExpand all lines: compiler/rustc_hir_analysis/messages.ftl
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,10 @@ hir_analysis_cross_crate_traits = cross-crate traits with a default impl, like `
149
149
hir_analysis_cross_crate_traits_defined = cross-crate traits with a default impl, like `{$traits}`, can only be implemented for a struct/enum type defined in the current crate
150
150
.label = can't implement cross-crate trait for type in another crate
151
151
152
+
hir_analysis_deref_receiver_target_diverge = `Deref::Target` does not agree with `Receiver::Target`
153
+
.label = `Deref::Target` is `{$deref_ty}` but `Receiver::Target` is `{$recv_ty}`
154
+
.note = `#![feature(arbitrary_self_types_merge_chains)]` rejects this kind of divergence
155
+
152
156
hir_analysis_dispatch_from_dyn_repr = structs implementing `DispatchFromDyn` may not have `#[repr(packed)]` or `#[repr(C)]`
153
157
154
158
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 that don't mention type/const generics, and nothing else
0 commit comments