Skip to content

Commit 3ee3071

Browse files
Update src/test/ui/async-await/issues/issue-78938-async-block.stderr
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
1 parent 757bd23 commit 3ee3071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/async-await/issues/issue-78938-async-block.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | | game_loop(Arc::clone(&room_ref))
88
LL | | });
99
| |_____^ may outlive borrowed value `room_ref`
1010
|
11-
= note: async blocks are not executed immediately and either must take a reference or ownership of outside variables they use
11+
= note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
1212
= help: see https://rust-lang.github.io/async-book/03_async_await/01_chapter.html#awaiting-on-a-multithreaded-executor for more information
1313
help: to force the async block to take ownership of `room_ref` (and any other referenced variables), use the `move` keyword
1414
|

0 commit comments

Comments
 (0)