about summary refs log tree commit diff
path: root/compiler/rustc_error_messages
diff options
context:
space:
mode:
authormejrs <59372212+mejrs@users.noreply.github.com>2023-01-19 13:52:15 +0100
committermejrs <59372212+mejrs@users.noreply.github.com>2023-01-19 13:52:15 +0100
commitcc5af33d64a6c80a7a54e0f0071ebcffc00ca4f0 (patch)
tree82ff73025a6e464957a2361d734514f8dd22613f /compiler/rustc_error_messages
parent1f72129ffe5e8c495113f9a2d4e1730f7fad3209 (diff)
Autoderive ExternBlockSuggestion
Diffstat (limited to 'compiler/rustc_error_messages')
-rw-r--r--compiler/rustc_error_messages/locales/en-US/ast_passes.ftl3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/ast_passes.ftl b/compiler/rustc_error_messages/locales/en-US/ast_passes.ftl
index e5cd1142b20..5f28839f136 100644
--- a/compiler/rustc_error_messages/locales/en-US/ast_passes.ftl
+++ b/compiler/rustc_error_messages/locales/en-US/ast_passes.ftl
@@ -88,4 +88,5 @@ ast_passes_ty_alias_without_body =
 ast_passes_fn_without_body =
     free function without a body
     .suggestion = provide a definition for the function
-    .extern_block_suggestion = if you meant to declare an externally defined function, use an `extern` block
+
+ast_passes_extern_block_suggestion = if you meant to declare an externally defined function, use an `extern` block