]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/synthetic_auto/static-region.rs
Test drop_tracking_mir before querying generator.
[rust.git] / tests / 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 has-srclink"]//h3[@class="code-header"]' \
7 // "impl<T> Send for 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 }