We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f41465 commit f5c4287Copy full SHA for f5c4287
src/test/ui/async-await/issues/issue-78938-async-block.stderr
@@ -9,7 +9,6 @@ LL | | });
9
| |_____^ may outlive borrowed value `room_ref`
10
|
11
= note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
12
- = help: see https://rust-lang.github.io/async-book/03_async_await/01_chapter.html#awaiting-on-a-multithreaded-executor for more information
13
help: to force the async block to take ownership of `room_ref` (and any other referenced variables), use the `move` keyword
14
15
LL | let gameloop_handle = spawn(async move {
0 commit comments