]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/self/self_lifetime-async.rs
4 struct Foo
<'a
>(&'
a ());
6 async
fn foo
<'b
>(self: &'b Foo
<'a
>) -> &() { self.0 }
9 type Alias
= Foo
<'
static>;
11 async
fn bar
<'a
>(self: &Alias
, arg
: &'
a ()) -> &() { arg }