1
Fork 0

migrate layout_test.rs to translateable diagnostics

This commit is contained in:
Nathan Stocks 2022-09-23 12:23:18 -06:00
parent 0609c0f1da
commit 40d5f00e16
3 changed files with 115 additions and 33 deletions

View file

@ -399,3 +399,24 @@ passes_duplicate_diagnostic_item_in_crate =
passes_diagnostic_item_first_defined =
the diagnostic item is first defined here
.note = the diagnostic item is first defined in crate `{$orig_crate_name}`.
passes_abi =
abi: {$abi}
passes_align =
align: {$align}
passes_size =
size: {$size}
passes_homogeneous_aggregate =
homogeneous_aggregate: {$homogeneous_aggregate}
passes_layout_of =
layout_of({$normalized_ty}) = {$ty_layout}
passes_unrecognized_field =
unrecognized field name `{$name}`
passes_layout =
layout error: {$layout_error}