]>
git.proxmox.com Git - rustc.git/blob - tests/ui/associated-types/issue-37808.rs
5 type Assoc
: Child
<Self::Ty
>;
10 struct ChildWrapper
<T
>(T
);
11 impl<A
, T
> Child
<A
> for ChildWrapper
<T
> where T
: Child
<A
> {}
13 struct ParentWrapper
<T
>(T
);
14 impl<A
, T
: Parent
<Ty
= A
>> Parent
for ParentWrapper
<T
> {
16 type Assoc
= ChildWrapper
<T
::Assoc
>;