2 // Check that the anonymous lifetimes used here aren't considered to shadow one
3 // another. Note that `async fn` is different to `fn` here because the lifetimes
4 // are numbered by HIR lowering, rather than lifetime resolution.
8 struct A<'a, 'b>(&'a &'b i32);
12 async fn assoc(x: &u32, y: B<'_>) {
13 async fn nested(x: &u32, y: A<'_, '_>) {}
16 async fn assoc2(x: &u32, y: A<'_, '_>) {
18 async fn nested_assoc(x: &u32, y: B<'_>) {}