|
1 | | -error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}: AsyncFnOnce()` is not satisfied |
2 | | - --> $DIR/iter-macro-not-async-closure.rs:22:34 |
| 1 | +error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}: AsyncFnOnce()` is not satisfied |
| 2 | + --> $DIR/iter-macro-not-async-closure.rs:32:34 |
3 | 3 | | |
4 | 4 | LL | let x = pin!(call_async_once(f)); |
5 | | - | --------------- ^ unsatisfied trait bound |
| 5 | + | --------------- ^ the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}` |
6 | 6 | | | |
7 | 7 | | required by a bound introduced by this call |
8 | 8 | | |
9 | | - = help: the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}` |
10 | 9 | note: required by a bound in `call_async_once` |
11 | | - --> $DIR/iter-macro-not-async-closure.rs:11:34 |
| 10 | + --> $DIR/iter-macro-not-async-closure.rs:21:34 |
12 | 11 | | |
13 | 12 | LL | async fn call_async_once(f: impl AsyncFnOnce()) { |
14 | 13 | | ^^^^^^^^^^^^^ required by this bound in `call_async_once` |
15 | 14 |
|
16 | | -error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}: AsyncFnOnce()` is not satisfied |
17 | | - --> $DIR/iter-macro-not-async-closure.rs:22:18 |
| 15 | +error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}: AsyncFnOnce()` is not satisfied |
| 16 | + --> $DIR/iter-macro-not-async-closure.rs:32:18 |
18 | 17 | | |
19 | 18 | LL | let x = pin!(call_async_once(f)); |
20 | | - | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound |
| 19 | + | ^^^^^^^^^^^^^^^^^^ the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}` |
21 | 20 | | |
22 | | - = help: the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}` |
23 | 21 | note: required by a bound in `call_async_once` |
24 | | - --> $DIR/iter-macro-not-async-closure.rs:11:34 |
| 22 | + --> $DIR/iter-macro-not-async-closure.rs:21:34 |
25 | 23 | | |
26 | 24 | LL | async fn call_async_once(f: impl AsyncFnOnce()) { |
27 | 25 | | ^^^^^^^^^^^^^ required by this bound in `call_async_once` |
28 | 26 |
|
29 | | -error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}: AsyncFnOnce()` is not satisfied |
30 | | - --> $DIR/iter-macro-not-async-closure.rs:22:13 |
| 27 | +error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}: AsyncFnOnce()` is not satisfied |
| 28 | + --> $DIR/iter-macro-not-async-closure.rs:32:13 |
31 | 29 | | |
32 | 30 | LL | let x = pin!(call_async_once(f)); |
33 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound |
| 31 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}` |
34 | 32 | | |
35 | | - = help: the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}` |
36 | 33 | note: required by a bound in `call_async_once` |
37 | | - --> $DIR/iter-macro-not-async-closure.rs:11:34 |
| 34 | + --> $DIR/iter-macro-not-async-closure.rs:21:34 |
38 | 35 | | |
39 | 36 | LL | async fn call_async_once(f: impl AsyncFnOnce()) { |
40 | 37 | | ^^^^^^^^^^^^^ required by this bound in `call_async_once` |
41 | 38 | = note: this error originates in the macro `pin` (in Nightly builds, run with -Z macro-backtrace for more info) |
42 | 39 |
|
43 | | -error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}: AsyncFnOnce()` is not satisfied |
44 | | - --> $DIR/iter-macro-not-async-closure.rs:22:13 |
| 40 | +error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}: AsyncFnOnce()` is not satisfied |
| 41 | + --> $DIR/iter-macro-not-async-closure.rs:32:13 |
45 | 42 | | |
46 | 43 | LL | let x = pin!(call_async_once(f)); |
47 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound |
| 44 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}` |
48 | 45 | | |
49 | | - = help: the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}` |
50 | 46 | note: required by a bound in `call_async_once` |
51 | | - --> $DIR/iter-macro-not-async-closure.rs:11:34 |
| 47 | + --> $DIR/iter-macro-not-async-closure.rs:21:34 |
52 | 48 | | |
53 | 49 | LL | async fn call_async_once(f: impl AsyncFnOnce()) { |
54 | 50 | | ^^^^^^^^^^^^^ required by this bound in `call_async_once` |
55 | 51 | = note: this error originates in the macro `pin` (in Nightly builds, run with -Z macro-backtrace for more info) |
56 | 52 |
|
57 | | -error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}: AsyncFnOnce()` is not satisfied |
58 | | - --> $DIR/iter-macro-not-async-closure.rs:27:5 |
| 53 | +error[E0277]: the trait bound `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}: AsyncFnOnce()` is not satisfied |
| 54 | + --> $DIR/iter-macro-not-async-closure.rs:37:5 |
59 | 55 | | |
60 | 56 | LL | x.poll(&mut Context::from_waker(Waker::noop())); |
61 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound |
| 57 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:26:21: 26:28}` |
62 | 58 | | |
63 | | - = help: the trait `AsyncFnOnce()` is not implemented for `{gen closure@$DIR/iter-macro-not-async-closure.rs:16:21: 16:28}` |
64 | 59 | note: required by a bound in `call_async_once` |
65 | | - --> $DIR/iter-macro-not-async-closure.rs:11:34 |
| 60 | + --> $DIR/iter-macro-not-async-closure.rs:21:34 |
66 | 61 | | |
67 | 62 | LL | async fn call_async_once(f: impl AsyncFnOnce()) { |
68 | 63 | | ^^^^^^^^^^^^^ required by this bound in `call_async_once` |
|
0 commit comments