]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/synthetic_auto/manual.rs
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / rustdoc / synthetic_auto / manual.rs
CommitLineData
0531ce1d 1// @has manual/struct.Foo.html
17df50a5
XL
2// @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
3// 'impl<T> Sync for Foo<T> where T: Sync'
0531ce1d 4//
17df50a5 5// @has - '//*[@id="trait-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
0531ce1d
XL
6// 'impl<T> Send for Foo<T>'
7//
17df50a5
XL
8// @count - '//*[@id="trait-implementations-list"]//*[@class="impl has-srclink"]' 1
9// @count - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]' 4
0531ce1d
XL
10pub struct Foo<T> {
11 field: T,
12}
13
14unsafe impl<T> Send for Foo<T> {}