summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/issues/issue-78938-async-block.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/async-await/issues/issue-78938-async-block.stderr')
-rw-r--r--src/test/ui/async-await/issues/issue-78938-async-block.stderr4
1 files changed, 2 insertions, 2 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 29aa8372f..c1a4b467f 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
@@ -1,8 +1,8 @@
error[E0373]: async block may outlive the current function, but it borrows `room_ref`, which is owned by the current function
- --> $DIR/issue-78938-async-block.rs:8:39
+ --> $DIR/issue-78938-async-block.rs:8:33
|
LL | let gameloop_handle = spawn(async {
- | _______________________________________^
+ | _________________________________^
LL | | game_loop(Arc::clone(&room_ref))
| | -------- `room_ref` is borrowed here
LL | | });