1 error[E0107]: wrong number of type arguments: expected 2, found 1
2 --> $DIR/issue-65159.rs:5:20
4 LL | async fn copy() -> Result<()>
5 | ^^^^^^^^^^ expected 2 type arguments
7 error[E0282]: type annotations needed
8 --> $DIR/issue-65159.rs:7:5
11 | ^^ cannot infer type for type parameter `E` declared on the enum `Result`
13 error: aborting due to 2 previous errors
15 Some errors have detailed explanations: E0107, E0282.
16 For more information about an error, try `rustc --explain E0107`.