]>
git.proxmox.com Git - rustc.git/blob - tests/ui/borrowck/async-reference-generality.rs
668df9ea7101d341724f10f97c06467972c6bf4b
4 use std
::marker
::PhantomData
;
6 pub struct Struct
<I
, T
>(PhantomData
<fn() -> <Self as It
>::Item
>)
10 impl<I
> It
for Struct
<I
, I
::Item
>
23 let _x
= Struct
::<Empty
<&'
static ()>, _
>(PhantomData
);
28 pub struct Empty
<T
>(PhantomData
<fn() -> T
>);
30 impl<T
> It
for Empty
<T
> {