]>
Commit | Line | Data |
---|---|---|
ba9703b0 | 1 | #![feature(negative_impls)] |
a1dfa0c6 XL |
2 | |
3 | // @has issue_55321/struct.A.html | |
cdc7bbd5 XL |
4 | // @has - '//*[@id="trait-implementations-list"]//*[@class="impl"]//code' "impl !Send for A" |
5 | // @has - '//*[@id="trait-implementations-list"]//*[@class="impl"]//code' "impl !Sync for A" | |
a1dfa0c6 XL |
6 | pub struct A(); |
7 | ||
8 | impl !Send for A {} | |
9 | impl !Sync for A {} | |
10 | ||
11 | // @has issue_55321/struct.B.html | |
cdc7bbd5 | 12 | // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//code' "impl<T> !Send for \ |
a1dfa0c6 | 13 | // B<T>" |
cdc7bbd5 | 14 | // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//code' "impl<T> !Sync for \ |
a1dfa0c6 XL |
15 | // B<T>" |
16 | pub struct B<T: ?Sized>(A, Box<T>); |