2024-03-31 13:37:35 -05:00
|
|
|
pub struct Outer<T>(Inner<T>);
|
|
|
|
pub struct Inner<T>(T);
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has bounds/struct.Outer.html
|
|
|
|
//@ has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
|
2024-03-31 13:37:35 -05:00
|
|
|
// "impl<T> Unpin for Outer<T>where \
|
|
|
|
// T: for<'any> Trait<A = (), B<'any> = (), X = ()>,"
|
|
|
|
|
|
|
|
impl<T> std::marker::Unpin for Inner<T>
|
|
|
|
where
|
|
|
|
T: for<'any> Trait<A = (), B<'any> = (), X = ()>,
|
|
|
|
{}
|
|
|
|
|
|
|
|
pub trait Trait: SuperTrait {
|
|
|
|
type A;
|
|
|
|
type B<'a>;
|
|
|
|
}
|
|
|
|
|
|
|
|
pub trait SuperTrait {
|
|
|
|
type X;
|
|
|
|
}
|