Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
async-await
/
multiple-lifetimes
/
named.rs
blob: e8eb98102f478fd58280aba4c13ec73397687bf7 [
file
] [
log
] [
blame
]
// 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
);
}