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