// @has basic/struct.Foo.html
// @has - '//code' 'impl Send for Foo where T: Send'
// @has - '//code' 'impl Sync for Foo where T: Sync'
// @count - '//*[@id="implementations-list"]/*[@class="impl"]' 0
// @count - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]' 2
pub struct Foo {
field: T,
}