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
+4-4
Original file line number
Diff line number
Diff line change
@@ -429,13 +429,13 @@ hir_analysis_transparent_non_zero_sized_enum = the variant of a transparent {$de
429
429
.label = needs at most one field with non-trivial size or alignment, but has {$field_count}
430
430
.labels = this field has non-zero size or requires alignment
431
431
432
-
hir_analysis_ty_param_first_local = type parameter `{$param_ty}` must be covered by another type when it appears before the first local type (`{$local_type}`)
433
-
.label = type parameter `{$param_ty}` must be covered by another type when it appears before the first local type (`{$local_type}`)
432
+
hir_analysis_ty_param_first_local = type parameter `{$param}` must be covered by another type when it appears before the first local type (`{$local_type}`)
433
+
.label = type parameter `{$param}` must be covered by another type when it appears before the first local type (`{$local_type}`)
434
434
.note = implementing a foreign trait is only possible if at least one of the types for which it is implemented is local, and no uncovered type parameters appear before that first local type
435
435
.case_note = in this case, 'before' refers to the following order: `impl<..> ForeignTrait<T1, ..., Tn> for T0`, where `T0` is the first and `Tn` is the last
436
436
437
-
hir_analysis_ty_param_some = type parameter `{$param_ty}` must be used as the type parameter for some local type (e.g., `MyStruct<{$param_ty}>`)
438
-
.label = type parameter `{$param_ty}` must be used as the type parameter for some local type
437
+
hir_analysis_ty_param_some = type parameter `{$param}` must be used as the type parameter for some local type (e.g., `MyStruct<{$param}>`)
438
+
.label = type parameter `{$param}` must be used as the type parameter for some local type
439
439
.note = implementing a foreign trait is only possible if at least one of the types for which it is implemented is local
440
440
.only_note = only traits defined in the current crate can be implemented for a type parameter
0 commit comments