]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/synthetic_auto/negative.rs
Rollup merge of #85926 - ehuss:update-cargo, r=ehuss
[rust.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 has-srclink"]//code' \
7 // "impl<T> !Send for Outer<T>"
8 //
9 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//code' \
10 // "impl<T> !Sync for Outer<T>"
11 pub struct Outer<T: Copy> {
12     inner_field: Inner<T>,
13 }