rust/tests/rustdoc/synthetic_auto/negative.rs
2024-06-24 11:08:41 +02:00

14 lines
409 B
Rust

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>,
}