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
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -236,6 +236,8 @@ hir_analysis_inherent_ty_outside_new = cannot define inherent `impl` for a type
236
236
.label = impl for type defined outside of crate
237
237
.note = define and implement a trait or new type instead
238
238
239
+
hir_analysis_inherent_ty_outside_new_alias_note = `{$ty_name}` does not define a new type, just alias of `{$alias_ty_name}`, which defined outside of crate
240
+
239
241
hir_analysis_inherent_ty_outside_primitive = cannot define inherent `impl` for primitive types outside of `core`
240
242
.help = consider moving this inherent impl into `core` if possible
241
243
.span_help = alternatively add `#[rustc_allow_incoherent_impl]` to the relevant impl items
0 commit comments