summary refs log tree commit diff
path: root/src/test/rustdoc/synthetic_auto/basic.rs
blob: d5f1269d08a4c9d73f17b1a2b9572ef13064d725 (plain)
1
2
3
4
5
6
7
8
// @has basic/struct.Foo.html
// @has - '//code' 'impl<T> Send for Foo<T> where T: Send'
// @has - '//code' 'impl<T> Sync for Foo<T> where T: Sync'
// @count - '//*[@id="implementations-list"]/*[@class="impl"]' 0
// @count - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]' 2
pub struct Foo<T> {
    field: T,
}