summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/issues/issue-63388-3.rs
blob: 1a9822e02fa0199c12eaec42e7e21a7fbf09e85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// edition:2018
// check-pass

struct Xyz {
    a: u64,
}

trait Foo {}

impl Xyz {
    async fn do_sth(
        &self, foo: &dyn Foo
    ) {
    }
}

fn main() {}