]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issues/issue-65159.stderr
Rollup merge of #107061 - compiler-errors:new-solver-new-candidates-3, r=lcnr
[rust.git] / tests / ui / async-await / issues / issue-65159.stderr
1 error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
2   --> $DIR/issue-65159.rs:5:20
3    |
4 LL | async fn copy() -> Result<()>
5    |                    ^^^^^^ -- supplied 1 generic argument
6    |                    |
7    |                    expected 2 generic arguments
8    |
9 help: add missing generic argument
10    |
11 LL | async fn copy() -> Result<(), E>
12    |                             +++
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0107`.