]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/synthetic_auto/negative.rs
Test drop_tracking_mir before querying generator.
[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 has-srclink"]//h3[@class="code-header"]' \
7 // "impl<T> !Send for Outer<T>"
8 //
9 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
10 // "impl<T> !Sync for Outer<T>"
11 pub struct Outer<T: Copy> {
12     inner_field: Inner<T>,
13 }