about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/messages.ftl
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2023-12-26 04:44:22 +0000
committerGary Guo <gary@garyguo.net>2024-02-24 18:50:09 +0000
commit31f078ea9941ce89f1f5ab5fb1239bbbddfe4d49 (patch)
tree2efe9ef8add222d16f5d2de20ed2cbfe0b79efdb /compiler/rustc_builtin_macros/messages.ftl
parent5e4e3d790bb5e53b31abf58fd0e2be557c28d496 (diff)
downloadrust-31f078ea9941ce89f1f5ab5fb1239bbbddfe4d49.tar.gz
rust-31f078ea9941ce89f1f5ab5fb1239bbbddfe4d49.zip
Forbid asm unwind to work with labels
Diffstat (limited to 'compiler/rustc_builtin_macros/messages.ftl')
-rw-r--r--compiler/rustc_builtin_macros/messages.ftl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_builtin_macros/messages.ftl b/compiler/rustc_builtin_macros/messages.ftl
index dda466b026d..32e065ada51 100644
--- a/compiler/rustc_builtin_macros/messages.ftl
+++ b/compiler/rustc_builtin_macros/messages.ftl
@@ -19,6 +19,8 @@ builtin_macros_asm_expected_other = expected operand, {$is_global_asm ->
 
 builtin_macros_asm_explicit_register_name = explicit register arguments cannot have names
 
+builtin_macros_asm_mayunwind = asm labels are not allowed with the `may_unwind` option
+
 builtin_macros_asm_modifier_invalid = asm template modifier must be a single character
 
 builtin_macros_asm_mutually_exclusive = the `{$opt1}` and `{$opt2}` options are mutually exclusive