1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Check that `async fn` inside of an impl with `'_` // in the header compiles correctly. // // Regression test for #63500. // // check-pass // edition:2018 struct Foo<'a>(&'a u8); impl Foo<'_> { async fn bar() {} } fn main() { }