]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/synthetic_auto/static-region.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc / synthetic_auto / static-region.rs
CommitLineData
b7449926
XL
1pub trait OwnedTrait<'a> {
2 type Reader;
94b46f34 3}
83c7162d 4
b7449926 5// @has static_region/struct.Owned.html
2b03887a 6// @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
f2b60f7d 7// "impl<T> Send for Owned<T>where <T as OwnedTrait<'static>>::Reader: Send"
b7449926
XL
8pub struct Owned<T> where T: OwnedTrait<'static> {
9 marker: <T as OwnedTrait<'static>>::Reader,
94b46f34 10}