1 2 3 4 5 6 7 8 9 10
// check-pass // edition:2018 struct A; impl A { async fn foo(&self, f: &u32) -> &A { self } } fn main() { }