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 has-srclink"]//code' \
27 // "impl<'c, K> Send for Foo<'c, K> where K: MyTrait<MyItem = bool>, 'c: 'static"
29 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//code' \
30 // "impl<'c, K> Sync for Foo<'c, K> where K: MyTrait, <K as MyTrait>::MyItem: OtherTrait, \
32 pub struct Foo<'c, K: 'c> {
33 inner_field: Inner<'c, K>,