Sign in
android
/
toolchain
/
rustc
/
cd1aefd586783f162dd848e314bd6991a5ffe033
/
.
/
tests
/
ui
/
async-await
/
multiple-lifetimes
/
partial-relation.rs
blob: 7375cb6d3a0dd9681c9432772737b7efb989d4e2 [
file
] [
log
] [
blame
]
// edition:2018
// run-pass
async
fn
lotsa_lifetimes
<
'a, '
b
,
'c>(a: &'
a u32
,
b
:
&
'b u32, c: &'
c u32
)
->
(&
'a u32, &'
b u32
)
where
'b: '
a
{
let
_
=
(
a
,
c
);
(
b
,
b
)
}
fn
main
()
{
let
_
=
lotsa_lifetimes
(&
22
,
&
44
,
&
66
);
}