about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-06-26 18:02:54 -0700
committerJubilee Young <workingjubilee@gmail.com>2025-06-27 11:04:04 -0700
commitdb33e98540fca8f3268cafc6276dbefd55681d55 (patch)
tree6e48612642a8211703ec85c72d4a044dea844bc2 /compiler
parent1045b70304ab6a875fc9fbf10cb7e7c010edd3ab (diff)
downloadrust-db33e98540fca8f3268cafc6276dbefd55681d55.tar.gz
rust-db33e98540fca8f3268cafc6276dbefd55681d55.zip
compiler: fixup error message for x86-interrupt invalid returns
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_ast_passes/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_passes/messages.ftl b/compiler/rustc_ast_passes/messages.ftl
index 6eddce7b590..869c3a58ae3 100644
--- a/compiler/rustc_ast_passes/messages.ftl
+++ b/compiler/rustc_ast_passes/messages.ftl
@@ -17,7 +17,7 @@ ast_passes_abi_must_not_have_parameters_or_return_type=
 
 ast_passes_abi_must_not_have_return_type=
     invalid signature for `extern {$abi}` function
-    .note = functions with the "custom" ABI cannot have a return type
+    .note = functions with the {$abi} ABI cannot have a return type
     .help = remove the return type
 
 ast_passes_assoc_const_without_body =