#![feature(async_await, futures_api)]
#![no_std]
pub async fn foo() {
}
(playground) currently fails with
error[E0433]: failed to resolve: could not find `from_generator` in `future`
This should also work with whatever the syntax for await is, currently it fails earlier than this error because of await! only being defined in std, see #56767.
(playground) currently fails with
This should also work with whatever the syntax for
awaitis, currently it fails earlier than this error because ofawait!only being defined instd, see #56767.