rust/tests/ui/async-await/issues/issue-63388-3.rs
2024-02-16 20:02:50 +00:00

18 lines
166 B
Rust

//@ edition:2018
//@ check-pass
struct Xyz {
a: u64,
}
trait Foo {}
impl Xyz {
async fn do_sth(
&self, foo: &dyn Foo
) {
}
}
fn main() {}