about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/messages.ftl
diff options
context:
space:
mode:
authorbohan <bohan-zhang@foxmail.com>2023-12-23 15:57:24 +0800
committerbohan <bohan-zhang@foxmail.com>2023-12-26 16:10:29 +0800
commite16efbd23afe98d1bda104d850e0285591d3a5d8 (patch)
treee1443ff56e2edfb7cd6f73cbd812149fef373808 /compiler/rustc_ast_lowering/messages.ftl
parent1ab783112ab4e4807304dbd249b39771246013ef (diff)
downloadrust-e16efbd23afe98d1bda104d850e0285591d3a5d8.tar.gz
rust-e16efbd23afe98d1bda104d850e0285591d3a5d8.zip
fallback `default` to `None` during ast-loweing for lifetime binder
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 6bde4f2d8fa..5a1b1c799eb 100644
--- a/compiler/rustc_ast_lowering/messages.ftl
+++ b/compiler/rustc_ast_lowering/messages.ftl
@@ -45,6 +45,8 @@ ast_lowering_closure_cannot_be_static = closures cannot be static
 ast_lowering_coroutine_too_many_parameters =
     too many parameters for a coroutine (expected 0 or 1 parameters)
 
+ast_lowering_default_parameter_in_binder = default parameter is not allowed in this binder
+
 ast_lowering_does_not_support_modifiers =
     the `{$class_name}` register class does not support template modifiers