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