Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
resolve
/
issue-70736-async-fn-no-body-def-collector.rs
blob: 927ecd9aee032ef5c48e05a804e2b6b06470c834 [
file
] [
log
] [
blame
]
// edition:2018
async
fn
free
();
//~ ERROR without a body
struct
A
;
impl
A
{
async
fn
inherent
();
//~ ERROR without body
}
trait
B
{
async
fn
associated
();
}
impl
B
for
A
{
async
fn
associated
();
//~ ERROR without body
}
fn
main
()
{}