Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
async-await
/
multiple-lifetimes
/
named.rs
blob: c933765c910375c42ccc8f65294063ce258b60f7 [
file
] [
log
] [
blame
] [
edit
]
//@ edition:2018
//@ run-pass
// Test that we can use async fns with multiple arbitrary lifetimes.
async
fn
multiple_named_lifetimes
<
'a, '
b
>(
_
:
&
'a u8, _: &'
b u8
)
{}
fn
main
()
{
let
_
=
multiple_named_lifetimes
(&
22
,
&
44
);
}