Sign in
rust
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
tests
/
ui
/
async-await
/
no-std.rs
blob: 92f7d996882ecd2d2be338edfef08c70fd21a8c8 [
file
] [
log
] [
blame
]
//@ edition:2018
//@ check-pass
#![
no_std
]
#![
crate_type
=
"rlib"
]
use
core
::
future
::
Future
;
async
fn
a
(
f
:
impl
Future
)
{
f
.
await
;
}
fn
main
()
{}