summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issues/issue-63388-4.rs
blob: 58f9dacb3bcfa26611aff7a5905dc876b0e78566 (plain)
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() { }