summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/synthetic_auto/negative.rs
blob: 97da2d57424cebc94aba9b0b76e6ba42b6e523cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
pub struct Inner<T: Copy> {
    field: *mut T,
}

// @has negative/struct.Outer.html
// @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
// "impl<T> !Send for Outer<T>"
//
// @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
// "impl<T> !Sync for Outer<T>"
pub struct Outer<T: Copy> {
    inner_field: Inner<T>,
}