Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
rust
/
crates
/
async-trait
/
bc03a9763251939fe06ff1fa7f784294efc5511c
/
.
/
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
()
{}