about summary refs log tree commit diff
path: root/compiler/rustc_passes/messages.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_passes/messages.ftl')
-rw-r--r--compiler/rustc_passes/messages.ftl4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_passes/messages.ftl b/compiler/rustc_passes/messages.ftl
index f8ef423a9b0..e5e70ba2033 100644
--- a/compiler/rustc_passes/messages.ftl
+++ b/compiler/rustc_passes/messages.ftl
@@ -622,6 +622,10 @@ passes_remove_fields =
 passes_repr_align_function =
     `repr(align)` attributes on functions are unstable
 
+passes_repr_align_greater_than_target_max =
+    alignment must not be greater than `isize::MAX` bytes
+    .note = `isize::MAX` is {$size} for the current target
+
 passes_repr_conflicting =
     conflicting representation hints