diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2023-05-17 10:30:14 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2023-06-01 14:45:18 +0000 |
| commit | 4f83717cf768adb0b0dfe23b8eecf2b259eec354 (patch) | |
| tree | bac79441d2e21eda2a702697484bba96d7cacf7e /compiler/rustc_errors/messages.ftl | |
| parent | 642c92e63008ffb49f6ad8344e07bfa7d5b0d9bb (diff) | |
| download | rust-4f83717cf768adb0b0dfe23b8eecf2b259eec354.tar.gz rust-4f83717cf768adb0b0dfe23b8eecf2b259eec354.zip | |
Use translatable diagnostics in `rustc_const_eval`
Diffstat (limited to 'compiler/rustc_errors/messages.ftl')
| -rw-r--r-- | compiler/rustc_errors/messages.ftl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_errors/messages.ftl b/compiler/rustc_errors/messages.ftl index 33709734322..8e8223c3cf8 100644 --- a/compiler/rustc_errors/messages.ftl +++ b/compiler/rustc_errors/messages.ftl @@ -8,7 +8,11 @@ errors_target_invalid_address_space = invalid address space `{$addr_space}` for `{$cause}` in "data-layout": {$err} errors_target_invalid_alignment = - invalid alignment for `{$cause}` in "data-layout": {$err} + invalid alignment for `{$cause}` in "data-layout": `{$align}` is {$err_kind -> + [not_power_of_two] not a power of 2 + [too_large] too large + *[other] {""} + } errors_target_invalid_bits = invalid {$kind} `{$bit}` for `{$cause}` in "data-layout": {$err} |
