2023-02-23 11:27:06 -06:00
|
|
|
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
|
2019-10-09 07:50:39 -05:00
|
|
|
--> $DIR/issue-65159.rs:5:20
|
|
|
|
|
|
|
|
|
LL | async fn copy() -> Result<()>
|
2021-02-18 14:01:44 -06:00
|
|
|
| ^^^^^^ -- supplied 1 generic argument
|
2021-01-02 12:45:11 -06:00
|
|
|
| |
|
2021-02-18 14:01:44 -06:00
|
|
|
| expected 2 generic arguments
|
2021-01-02 12:45:11 -06:00
|
|
|
|
|
2021-02-18 14:01:44 -06:00
|
|
|
help: add missing generic argument
|
2021-01-02 12:45:11 -06:00
|
|
|
|
|
|
|
|
LL | async fn copy() -> Result<(), E>
|
2021-06-21 21:07:19 -05:00
|
|
|
| +++
|
2019-10-09 07:50:39 -05:00
|
|
|
|
2024-03-20 11:52:54 -05:00
|
|
|
error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
|
|
|
|
--> $DIR/issue-65159.rs:5:20
|
|
|
|
|
|
|
|
|
LL | async fn copy() -> Result<()>
|
|
|
|
| ^^^^^^ -- supplied 1 generic argument
|
|
|
|
| |
|
|
|
|
| expected 2 generic arguments
|
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
help: add missing generic argument
|
|
|
|
|
|
|
|
|
LL | async fn copy() -> Result<(), E>
|
|
|
|
| +++
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2019-10-09 07:50:39 -05:00
|
|
|
|
2024-01-10 10:34:54 -06:00
|
|
|
For more information about this error, try `rustc --explain E0107`.
|