1 error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied
2 --> $DIR/issue-65159.rs:5:20
4 LL | async fn copy() -> Result<()>
5 | ^^^^^^ -- supplied 1 generic argument
7 | expected 2 generic arguments
9 note: enum defined here, with 2 generic parameters: `T`, `E`
10 --> $SRC_DIR/core/src/result.rs:LL:COL
12 LL | pub enum Result<T, E> {
14 help: add missing generic argument
16 LL | async fn copy() -> Result<(), E>
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0107`.