]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-63388-3.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / async-await / issues / issue-63388-3.rs
1 // edition:2018
2 // check-pass
3
4 struct Xyz {
5     a: u64,
6 }
7
8 trait Foo {}
9
10 impl Xyz {
11     async fn do_sth(
12         &self, foo: &dyn Foo
13     ) {
14     }
15 }
16
17 fn main() {}