Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
dyn-compatibility
/
item-bounds-can-reference-self.rs
blob: 4ae982e8f951fd6b454e09c3ad82b911babff828 [
file
] [
log
] [
blame
]
//@ 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
()
{}