blob: b7ccac1ee521c05ca6d938b4b3029f1b660f1313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// check-pass
// edition:2021
#![allow(dead_code)]
struct Foo<'a>(&'a u32);
impl<'a> Foo<'a> {
async fn foo() {
struct Bar<'b>(&'b u32);
impl<'b> Bar<'b> {
async fn bar() {}
}
}
}
fn main() {}
|