about summary refs log tree commit diff
path: root/tests/rustdoc/synthetic_auto/static-region.rs
blob: 0b7d048765beaa3b4959dc931893271ab15e8d54 (plain)
1
2
3
4
5
6
7
8
9
10
pub trait OwnedTrait<'a> {
    type Reader;
}

//@ has static_region/struct.Owned.html
//@ has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
// "impl<T> Send for Owned<T>where <T as OwnedTrait<'static>>::Reader: Send"
pub struct Owned<T> where T: OwnedTrait<'static> {
    marker: <T as OwnedTrait<'static>>::Reader,
}