Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-28999.rs
blob: 572a0beff61f6c9e72c51dff1602152fd4e350a0 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{}