]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/synthetic_auto/basic.rs
rustdoc: generate implementors for all auto traits
[rust.git] / src / test / rustdoc / synthetic_auto / basic.rs
1 // @has basic/struct.Foo.html
2 // @has - '//code' 'impl<T> Send for Foo<T> where T: Send'
3 // @has - '//code' 'impl<T> Sync for Foo<T> where T: Sync'
4 // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 0
5 // @count - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]' 5
6 pub struct Foo<T> {
7     field: T,
8 }