about summary refs log tree commit diff
path: root/compiler/rustc_error_messages
diff options
context:
space:
mode:
authorIQuant <quant3234@gmail.com>2023-01-31 19:12:48 +0300
committerIQuant <quant3234@gmail.com>2023-02-14 18:55:54 +0300
commitfdbec623c42ef022bd9461fef7639358a7b2968f (patch)
tree15e8501561a68641356fa497b4fe9d2523d7af1d /compiler/rustc_error_messages
parent9f06c3d87f5a40078319e60ebe91bba279bf3f76 (diff)
Port ConsiderAddingAwait
Diffstat (limited to 'compiler/rustc_error_messages')
-rw-r--r--compiler/rustc_error_messages/locales/en-US/infer.ftl4
1 files changed, 4 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 1019b611464..8f4ac5234ce 100644
--- a/compiler/rustc_error_messages/locales/en-US/infer.ftl
+++ b/compiler/rustc_error_messages/locales/en-US/infer.ftl
@@ -335,3 +335,7 @@ infer_srs_remove_and_box = consider removing this semicolon and boxing the expre
 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
+
+infer_await_both_futures = consider `await`ing on both `Future`s
+infer_await_future = consider `await`ing on the `Future`
+infer_await_note = calling an async function returns a future
\ No newline at end of file