]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/synthetic_auto/lifetimes.rs
1 pub struct Inner
<'a
, T
: 'a
> {
5 unsafe impl<'a
, T
> Send
for Inner
<'a
, T
>
8 T
: for<'b
> Fn(&'b bool
) -> &'a
u8,
11 // @has lifetimes/struct.Foo.html
12 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
13 // "impl<'c, K> Send for Foo<'c, K>where K: for<'b> Fn(&'b bool) -> &'c u8, 'c: 'static"
15 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
16 // "impl<'c, K> Sync for Foo<'c, K>where K: Sync"
17 pub struct Foo
<'c
, K
: 'c
> {
18 inner_field
: Inner
<'c
, K
>,