Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
associated-types
/
issue-39532.rs
blob: a0036ef860e3fa671cccd0372fae23b53a7e7ed5 [
file
] [
log
] [
blame
]
//@ check-pass
#![
allow
(
unused
)]
trait
Foo
{
type
Bar
;
type
Baz
:
Bar
<
Self
::
Bar
>;
}
trait
Bar
<
T
>
{}
fn
x
<
T
:
Foo
<
Bar
=
U
>,
U
>(
t
:
&
T
)
{}
fn
main
()
{}