3 trait SendFuture: Send {
7 impl<Fut: Send> SendFuture for Fut {
11 async fn broken_fut() {
13 //~^ ERROR cannot find value `ident_error` in this scope
16 // triggers normalization of `<Fut as SendFuture>::Output`,
17 // which requires `Fut: Send`.
18 fn normalize<Fut: SendFuture>(_: Fut, _: Fut::Output) {}
20 async fn iceice<A, B>()
21 // <- async fn is necessary
24 B: Send, // <- a second bound
26 normalize(broken_fut(), ());