rust/tests/ui/async-await/no-std.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
154 B
Rust
Raw Normal View History

//@ edition:2018
//@ check-pass
#![no_std]
#![crate_type = "rlib"]
use core::future::Future;
async fn a(f: impl Future) {
f.await;
}
fn main() {}