]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/synthetic_auto/static-region.rs
Auto merge of #84471 - jyn514:linkcheck-llvm, r=Mark-Simulacrum
[rust.git] / src / test / rustdoc / synthetic_auto / static-region.rs
1 pub trait OwnedTrait<'a> {
2     type Reader;
3 }
4
5 // @has static_region/struct.Owned.html
6 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//code' "impl<T> Send for \
7 // Owned<T> where <T as OwnedTrait<'static>>::Reader: Send"
8 pub struct Owned<T> where T: OwnedTrait<'static> {
9     marker: <T as OwnedTrait<'static>>::Reader,
10 }