Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
issues
/
issue-28999.rs
blob: 888a8010a2f6bcba7a7bcf18cc860a3b55829a00 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be 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
()
{}