summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/synthetic_auto/basic.rs
blob: 7c6a388653c4987a3c766613afc91ccab65d986a (plain)
1
2
3
4
5
6
7
8
// @has basic/struct.Foo.html
// @has - '//h3[@class="code-header"]' 'impl<T> Send for Foo<T>where T: Send'
// @has - '//h3[@class="code-header"]' 'impl<T> Sync for Foo<T>where T: Sync'
// @count - '//*[@id="implementations-list"]//*[@class="impl has-srclink"]' 0
// @count - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]' 5
pub struct Foo<T> {
    field: T,
}