Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
async-await
/
issues
/
auxiliary
/
issue_67893.rs
blob: 387966a5064fa58d329a8653f780fb0f5c450e86 [
file
] [
log
] [
blame
]
// edition:2018
use
std
::
sync
::{
Arc
,
Mutex
};
pub
async
fn
f
(
_
:
())
{}
pub
async
fn
run
()
{
let
x
:
Arc
<
Mutex
<()>>
=
unimplemented
!();
f
(*
x
.
lock
().
unwrap
()).
await
;
}