11 // @has foo/fn.foo.html '//section[@id="main"]//pre' "x: &'x impl Foo"
12 // @has foo/fn.foo.html '//section[@id="main"]//pre' "-> &'x impl Foo"
13 pub fn foo<'x>(x: &'x impl Foo) -> &'x impl Foo {
17 // @has foo/fn.foo2.html '//section[@id="main"]//pre' "x: &'x impl Foo"
18 // @has foo/fn.foo2.html '//section[@id="main"]//pre' '-> impl Foo2'
19 pub fn foo2<'x>(_x: &'x impl Foo) -> impl Foo2 {
23 // @has foo/fn.foo_foo.html '//section[@id="main"]//pre' '-> impl Foo + Foo2'
24 pub fn foo_foo() -> impl Foo + Foo2 {
28 // @has foo/fn.foo_foo_foo.html '//section[@id="main"]//pre' "x: &'x impl Foo + Foo2"
29 pub fn foo_foo_foo<'x>(_x: &'x (impl Foo + Foo2)) {