]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/synthetic_auto/negative.rs
Auto merge of #107443 - cjgillot:generator-less-query, r=compiler-errors
[rust.git] / tests / 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"]//h3[@class="code-header"]' \
7 // "impl<T> !Send for Outer<T>"
8 //
9 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
10 // "impl<T> !Sync for Outer<T>"
11 pub struct Outer<T: Copy> {
12     inner_field: Inner<T>,
13 }