Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
dyn-compatibility
/
item-bounds-can-reference-self.rs
blob: 4ae982e8f951fd6b454e09c3ad82b911babff828 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
pub
trait
Foo
{
type
X
:
PartialEq
;
type
Y
:
PartialEq
<
Self
::
Y
>;
type
Z
:
PartialEq
<
Self
::
Y
>;
}
fn
uwu
(
x
:
&
dyn
Foo
<
X
=
i32
,
Y
=
i32
,
Z
=
i32
>)
{}
fn
main
()
{}