Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
associated-type-bounds
/
supertrait-referencing-self.rs
blob: bb6a2fd1035ffbd9913dc445a7578614f12fce21 [
file
] [
log
] [
blame
]
//@ check-pass
trait
Foo
{
type
Bar
;
}
trait
Qux
:
Foo
+
AsRef
<
Self
::
Bar
>
{}
trait
Foo2
{}
trait
Qux2
:
Foo2
+
AsRef
<
Self
::
Bar
>
{
type
Bar
;
}
fn
main
()
{}