pub struct Inner { field: T, } unsafe impl Send for Inner where T: Copy, { } // @has nested/struct.Foo.html // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \ // 'impl Send for Foo where T: Copy' // // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \ // 'impl Sync for Foo where T: Sync' pub struct Foo { inner_field: Inner, }