fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
521 B16 linesraw
1error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
2  --> $DIR/issue-65159.rs:5:20
3   |
4LL | async fn copy() -> Result<()>
5   |                    ^^^^^^ -- supplied 1 generic argument
6   |                    |
7   |                    expected 2 generic arguments
8   |
9help: add missing generic argument
10   |
11LL | async fn copy() -> Result<(), E>
12   |                             +++
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0107`.