Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
async-await
/
async-trait-fn.rs
blob: f0403b76620c1ba076a7c07303783c7b420d141b [
file
] [
log
] [
blame
]
// edition:2018
trait
T
{
async
fn
foo
()
{}
//~ ERROR functions in traits cannot be declared `async`
async
fn
bar
(&
self
)
{}
//~ ERROR functions in traits cannot be declared `async`
}
fn
main
()
{}