1 #![feature(negative_impls)]
3 // @has issue_55321/struct.A.html
4 // @has - '//*[@id="trait-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
6 // @has - '//*[@id="trait-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
13 // @has issue_55321/struct.B.html
14 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
15 // "impl<T> !Send for B<T>"
16 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \
17 // "impl<T> !Sync for B<T>"
18 pub struct B<T: ?Sized>(A, Box<T>);