about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/messages.ftl
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-06-28 14:10:32 -0400
committerMichael Goulet <michael@errs.io>2024-06-28 14:20:44 -0400
commit82b4af7511a430e53d2ed554771754552e5ecca8 (patch)
tree4f96c357ea42862265110fbd7b7974a69fc820c9 /compiler/rustc_ast_lowering/messages.ftl
parentb1a0c0b1231a554d4ae699221a80a6e2f81bac4d (diff)
downloadrust-82b4af7511a430e53d2ed554771754552e5ecca8.tar.gz
rust-82b4af7511a430e53d2ed554771754552e5ecca8.zip
Make sure we deny unimplemented RTN on qpath segments
Diffstat (limited to 'compiler/rustc_ast_lowering/messages.ftl')
-rw-r--r--compiler/rustc_ast_lowering/messages.ftl2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/messages.ftl b/compiler/rustc_ast_lowering/messages.ftl
index d6eb344fd1d..9ed93d481e7 100644
--- a/compiler/rustc_ast_lowering/messages.ftl
+++ b/compiler/rustc_ast_lowering/messages.ftl
@@ -43,6 +43,8 @@ ast_lowering_bad_return_type_notation_output =
     return type not allowed with return type notation
     .suggestion = remove the return type
 
+ast_lowering_bad_return_type_notation_position = return type notation not allowed in this position yet
+
 ast_lowering_base_expression_double_dot =
     base expression required after `..`
     .suggestion = add a base expression here