Sign in
rust
/
rust
/
e8a63124746761e743d69ea510194de2ada4034f
/
.
/
tests
/
ui
/
generic-associated-types
/
issue-93262.rs
blob: c4a6f0dbaa073ec265cf385f7059a2935205604a [
file
] [
log
] [
blame
]
//@ check-pass
pub
trait
Trait
{
type
Assoc
<
'a> where Self: '
a
;
}
pub
trait
Foo
<
T
:
Trait
>
where
for
<
'a> T::Assoc<'
a
>:
Clone
{}
pub
struct
Type
;
impl
<
T
:
Trait
>
Foo
<
T
>
for
Type
where
for
<
'a> T::Assoc<'
a
>:
Clone
{}
fn
main
()
{}