about summary refs log tree commit diff
diff options
context:
space:
mode:
author1000teslas <47207223+1000teslas@users.noreply.github.com>2021-01-12 14:12:12 +1100
committerGitHub <noreply@github.com>2021-01-12 14:12:12 +1100
commit3ee3071344334a0ac9defe876d6781d2d9658933 (patch)
tree59cb0e5f2bdd26d239f7130e2dd165291dd6a678
parent757bd23503e16311190c943efba093d70d6b3454 (diff)
downloadrust-3ee3071344334a0ac9defe876d6781d2d9658933.tar.gz
rust-3ee3071344334a0ac9defe876d6781d2d9658933.zip
Update src/test/ui/async-await/issues/issue-78938-async-block.stderr
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
-rw-r--r--src/test/ui/async-await/issues/issue-78938-async-block.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/issues/issue-78938-async-block.stderr b/src/test/ui/async-await/issues/issue-78938-async-block.stderr
index 4468975b2f5..5450038c0d9 100644
--- a/src/test/ui/async-await/issues/issue-78938-async-block.stderr
+++ b/src/test/ui/async-await/issues/issue-78938-async-block.stderr
@@ -8,7 +8,7 @@ LL | |         game_loop(Arc::clone(&room_ref))
 LL | |     });
    | |_____^ may outlive borrowed value `room_ref`
    |
-   = note: async blocks are not executed immediately and either must take a reference or ownership of outside variables they use
+   = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
    = help: see https://rust-lang.github.io/async-book/03_async_await/01_chapter.html#awaiting-on-a-multithreaded-executor for more information
 help: to force the async block to take ownership of `room_ref` (and any other referenced variables), use the `move` keyword
    |