about summary refs log tree commit diff
path: root/compiler/rustc_error_messages
diff options
context:
space:
mode:
authorIQuant <quant3234@gmail.com>2023-01-28 19:41:14 +0300
committerIQuant <quant3234@gmail.com>2023-02-14 18:31:45 +0300
commit9f06c3d87f5a40078319e60ebe91bba279bf3f76 (patch)
tree3e9d72c9ee8e11d365b9bf658fd9bbdd61e54a5a /compiler/rustc_error_messages
parent6fa4c7d89c48146af0b246c7640ad3a611412a23 (diff)
Port SuggestRemoveSemiOrReturnBinding
Diffstat (limited to 'compiler/rustc_error_messages')
-rw-r--r--compiler/rustc_error_messages/locales/en-US/infer.ftl5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/infer.ftl b/compiler/rustc_error_messages/locales/en-US/infer.ftl
index f7e1420d76c..1019b611464 100644
--- a/compiler/rustc_error_messages/locales/en-US/infer.ftl
+++ b/compiler/rustc_error_messages/locales/en-US/infer.ftl
@@ -330,3 +330,8 @@ infer_ril_static_introduced_by = "`'static` lifetime requirement introduced by t
 
 infer_where_remove = remove the `where` clause
 infer_where_copy_predicates = copy the `where` clause predicates from the trait
+
+infer_srs_remove_and_box = consider removing this semicolon and boxing the expressions
+infer_srs_remove = consider removing this semicolon
+infer_srs_add = consider returning the local binding `{$ident}`
+infer_srs_add_one = consider returning one of these bindings