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
+6-6
Original file line number
Diff line number
Diff line change
@@ -270,13 +270,13 @@ hir_analysis_transparent_enum_variant = transparent enum needs exactly one varia
270
270
.many_label = too many variants in `{$path}`
271
271
.multi_label = variant here
272
272
273
-
hir_analysis_transparent_non_zero_sized = transparent {$desc} needs at most one non-zero-sized field, but has {$field_count}
274
-
.label = needs at most one non-zero-sized field, but has {$field_count}
275
-
.labels = this field is non-zero-sized
273
+
hir_analysis_transparent_non_zero_sized = transparent {$desc} needs at most one field with non-trivial size or alignment, but has {$field_count}
274
+
.label = needs at most one field with non-trivial size or alignment, but has {$field_count}
275
+
.labels = this field has non-zero size or requires alignment
276
276
277
-
hir_analysis_transparent_non_zero_sized_enum = the variant of a transparent {$desc} needs at most one non-zero-sized field, but has {$field_count}
278
-
.label = needs at most one non-zero-sized field, but has {$field_count}
279
-
.labels = this field is non-zero-sized
277
+
hir_analysis_transparent_non_zero_sized_enum = the variant of a transparent {$desc} needs at most one field with non-trivial size or alignment, but has {$field_count}
278
+
.label = needs at most one field with non-trivial size or alignment, but has {$field_count}
279
+
.labels = this field has non-zero size or requires alignment
0 commit comments