Skip to content

Commit 35f0eca

Browse files
Force move async-closures that are FnOnce to make their inner coroutines also move
1 parent 4b35147 commit 35f0eca

File tree

2 files changed

+14
-31
lines changed

2 files changed

+14
-31
lines changed

tests/pass/async-closure-captures.stderr

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Hello(0)
2+
Hello(0)
3+
Hello(1)
4+
Hello(1)
5+
Hello(2)
6+
Hello(3)
7+
Hello(3)
8+
Hello(4)
9+
Hello(4)
10+
Hello(5)
11+
Hello(6)
12+
Hello(7)
13+
Hello(8)
14+
Hello(9)

0 commit comments

Comments
 (0)