Sign in
fuchsia
/
fuchsia
/
4903ee7aa2fb
/
.
/
third_party
/
rust_crates
/
vendor
/
async-trait
/
tests
/
ui
/
send-not-implemented.rs
blob: a3e3856aa968447c0893a3d893d5b45cc7627533 [
file
] [
log
] [
blame
]
use
async_trait
::
async_trait
;
use
std
::
sync
::
Mutex
;
async
fn
f
()
{}
#[
async_trait
]
trait
Test
{
async
fn
test
(&
self
)
{
let
mutex
=
Mutex
::
new
(());
let
_guard
=
mutex
.
lock
().
unwrap
();
f
().
await
;
}
}
fn
main
()
{}