summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/synthetic_auto/static-region.rs
blob: 08e9567313e22bb78f0faf6f5701537b6c9e3ecf (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 in-band"]' \
// "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,
}