about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/messages.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_borrowck/messages.ftl')
-rw-r--r--compiler/rustc_borrowck/messages.ftl3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_borrowck/messages.ftl b/compiler/rustc_borrowck/messages.ftl
index 2b1c82a461e..090bd2293d3 100644
--- a/compiler/rustc_borrowck/messages.ftl
+++ b/compiler/rustc_borrowck/messages.ftl
@@ -80,6 +80,9 @@ borrowck_higher_ranked_subtype_error =
 borrowck_lifetime_constraints_error =
     lifetime may not live long enough
 
+borrowck_move_closure_suggestion =
+    consider adding 'move' keyword before the nested closure
+
 borrowck_move_out_place_here =
     {$place} is moved here