Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
issues
/
issue-28999.rs
blob: cec3e25da868c5038f385d1b9d76bde830650bff [
file
] [
log
] [
blame
]
// check-pass
pub
struct
Xyz
<
'
a
,
V
>
{
pub
v
:
(
V
,
&
'
a u32
),
}
pub
fn
eq
<
'a, '
s
,
't, V>(this: &'
s
Xyz
<
'a, V>, other: &'
t
Xyz
<
'
a
,
V
>)
->
bool
where V
:
PartialEq
{
this
.
v
==
other
.
v
}
fn
main
()
{}