]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/issues/issue-65159.stderr
Rollup merge of #71627 - ldm0:autoderefarg, r=Dylan-DPC
[rust.git] / src / test / ui / async-await / issues / issue-65159.stderr
1 error[E0107]: wrong number of type arguments: expected 2, found 1
2   --> $DIR/issue-65159.rs:5:20
3    |
4 LL | async fn copy() -> Result<()>
5    |                    ^^^^^^^^^^ expected 2 type arguments
6
7 error[E0282]: type annotations needed
8   --> $DIR/issue-65159.rs:7:5
9    |
10 LL |     Ok(())
11    |     ^^ cannot infer type for type parameter `E` declared on the enum `Result`
12
13 error: aborting due to 2 previous errors
14
15 Some errors have detailed explanations: E0107, E0282.
16 For more information about an error, try `rustc --explain E0107`.