1 error: an async construct yields a type which is itself awaitable
2 --> $DIR/async_yields_async.rs:40:9
5 | ____________________-
10 | ||_________^ awaitable value not awaited
12 | |_____- outer async construct
14 = note: `-D clippy::async-yields-async` implied by `-D warnings`
15 help: consider awaiting this value
22 error: an async construct yields a type which is itself awaitable
23 --> $DIR/async_yields_async.rs:45:9
26 | ____________________-
27 LL | | CustomFutureType
30 | | awaitable value not awaited
31 | | help: consider awaiting this value: `CustomFutureType.await`
33 | |_____- outer async construct
35 error: an async construct yields a type which is itself awaitable
36 --> $DIR/async_yields_async.rs:51:9
38 LL | let _j = async || {
39 | _______________________-
44 | ||_________^ awaitable value not awaited
46 | |_____- outer async construct
48 help: consider awaiting this value
55 error: an async construct yields a type which is itself awaitable
56 --> $DIR/async_yields_async.rs:56:9
58 LL | let _k = async || {
59 | _______________________-
60 LL | | CustomFutureType
63 | | awaitable value not awaited
64 | | help: consider awaiting this value: `CustomFutureType.await`
66 | |_____- outer async construct
68 error: an async construct yields a type which is itself awaitable
69 --> $DIR/async_yields_async.rs:58:23
71 LL | let _l = async || CustomFutureType;
74 | outer async construct
75 | awaitable value not awaited
76 | help: consider awaiting this value: `CustomFutureType.await`
78 error: an async construct yields a type which is itself awaitable
79 --> $DIR/async_yields_async.rs:64:9
81 LL | let _m = async || {
82 | _______________________-
83 LL | | println!("I'm bored");
84 LL | | // Some more stuff
86 LL | | // Finally something to await
87 LL | | CustomFutureType
90 | | awaitable value not awaited
91 | | help: consider awaiting this value: `CustomFutureType.await`
93 | |_____- outer async construct
95 error: aborting due to 6 previous errors