]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/synthetic_auto/basic.rs
Auto merge of #107443 - cjgillot:generator-less-query, r=compiler-errors
[rust.git] / tests / rustdoc / synthetic_auto / basic.rs
1 // @has basic/struct.Foo.html
2 // @has - '//h3[@class="code-header"]' 'impl<T> Send for Foo<T>where T: Send'
3 // @has - '//h3[@class="code-header"]' '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 }