]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/synthetic_auto/manual.rs
Rollup merge of #68378 - billyrieger:btreemap-remove-entry, r=KodrAus
[rust.git] / src / test / rustdoc / synthetic_auto / manual.rs
1 // @has manual/struct.Foo.html
2 // @has - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]//code' 'impl<T> Sync for \
3 // Foo<T> where T: Sync'
4 //
5 // @has - '//*[@id="implementations-list"]/*[@class="impl"]//code' \
6 // 'impl<T> Send for Foo<T>'
7 //
8 // @count - '//*[@id="implementations-list"]/*[@class="impl"]' 1
9 // @count - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]' 4
10 pub struct Foo<T> {
11     field: T,
12 }
13
14 unsafe impl<T> Send for Foo<T> {}