summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/synthetic_auto/static-region.rs
blob: 1a76cb919c2989748d476bbbfe3aabdf572ad941 (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 has-srclink"]//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,
}