]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/synthetic_auto/negative.rs
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / rustdoc / synthetic_auto / negative.rs
1 pub struct Inner<T: Copy> {
2 field: *mut T,
3 }
4
5 // @has negative/struct.Outer.html
6 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//code' "impl<T> !Send for \
7 // Outer<T>"
8 //
9 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//code' "impl<T> \
10 // !Sync for Outer<T>"
11 pub struct Outer<T: Copy> {
12 inner_field: Inner<T>,
13 }