2 pub trait MyTrait<'a> {
6 pub struct Inner<'a, Q, R: ?Sized> {
13 pub struct Outer<'a, T, K: ?Sized> {
14 my_inner: Inner<'a, T, K>,
22 // @has complex/struct.NotOuter.html
23 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
24 // "impl<'a, T, K: ?Sized> Send for Outer<'a, T, K>where K: for<'b> Fn((&'b bool, &'a u8)) \
25 // -> &'b i8, T: MyTrait<'a>, <T as MyTrait<'a>>::MyItem: Copy, 'a: 'static"
27 pub use foo::{Foo, Inner as NotInner, MyTrait as NotMyTrait, Outer as NotOuter};
29 unsafe impl<T> Send for Foo<T>
31 T: NotMyTrait<'static>,
35 unsafe impl<'a, Q, R: ?Sized> Send for NotInner<'a, Q, R>
38 <Q as NotMyTrait<'a>>::MyItem: Copy,
39 R: for<'b> Fn((&'b bool, &'a u8)) -> &'b i8,