2023-02-23 10:27:06 -07:00
|
|
|
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
|
2019-10-09 08:50:39 -04:00
|
|
|
--> $DIR/issue-65159.rs:5:20
|
|
|
|
|
|
|
|
|
LL | async fn copy() -> Result<()>
|
2021-02-18 21:01:44 +01:00
|
|
|
| ^^^^^^ -- supplied 1 generic argument
|
2021-01-02 19:45:11 +01:00
|
|
|
| |
|
2021-02-18 21:01:44 +01:00
|
|
|
| expected 2 generic arguments
|
2021-01-02 19:45:11 +01:00
|
|
|
|
|
2021-02-18 21:01:44 +01:00
|
|
|
help: add missing generic argument
|
2021-01-02 19:45:11 +01:00
|
|
|
|
|
|
|
|
LL | async fn copy() -> Result<(), E>
|
2021-06-21 19:07:19 -07:00
|
|
|
| +++
|
2019-10-09 08:50:39 -04:00
|
|
|
|
2022-11-11 10:29:27 +00:00
|
|
|
error: aborting due to previous error
|
2019-10-09 08:50:39 -04:00
|
|
|
|
2022-11-11 10:29:27 +00:00
|
|
|
For more information about this error, try `rustc --explain E0107`.
|