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
@@ -370,13 +370,13 @@ hir_analysis_transparent_non_zero_sized_enum = the variant of a transparent {$de
370
370
.label = needs at most one field with non-trivial size or alignment, but has {$field_count}
371
371
.labels = this field has non-zero size or requires alignment
372
372
373
-
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}`)
374
-
.label = type parameter `{$param_ty}` must be covered by another type when it appears before the first local type (`{$local_type}`)
373
+
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}`)
374
+
.label = type parameter `{$param}` must be covered by another type when it appears before the first local type (`{$local_type}`)
375
375
.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
376
376
.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
377
377
378
-
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}>`)
379
-
.label = type parameter `{$param_ty}` must be used as the type parameter for some local type
378
+
hir_analysis_ty_param_some = type parameter `{$param}` must be used as the type parameter for some local type (e.g., `MyStruct<{$param}>`)
379
+
.label = type parameter `{$param}` must be used as the type parameter for some local type
380
380
.note = implementing a foreign trait is only possible if at least one of the types for which it is implemented is local
381
381
.only_note = only traits defined in the current crate can be implemented for a type parameter
0 commit comments