1 pub struct Inner<'a, T: 'a> {
11 unsafe impl<'a, T> Send for Inner<'a, T>
14 T: MyTrait<MyItem = bool>,
17 unsafe impl<'a, T> Sync for Inner<'a, T>
21 <T as MyTrait>::MyItem: OtherTrait,
25 // @has project/struct.Foo.html
26 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//code' "impl<'c, K> Send \
27 // for Foo<'c, K> where K: MyTrait<MyItem = bool>, 'c: 'static"
29 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//code' "impl<'c, K> Sync \
30 // for Foo<'c, K> where K: MyTrait, <K as MyTrait>::MyItem: OtherTrait, 'c: 'static,"
31 pub struct Foo<'c, K: 'c> {
32 inner_field: Inner<'c, K>,