Sign in
android
/
platform
/
external
/
rust
/
crates
/
async-trait
/
3ca5ea6709de08c0de2f4c45cc32acb5c652a813
/
.
/
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
()
{}