fork/rust

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

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

master
561 B19 linesraw
1error[E0057]: this function takes 2 arguments but 1 argument was supplied
2  --> $DIR/issue-98897.rs:2:5
3   |
4LL |     (|_, ()| ())([return, ()]);
5   |     ^^^^^^^^^^^^-------------- an argument of type `()` is missing
6   |
7note: closure defined here
8  --> $DIR/issue-98897.rs:2:6
9   |
10LL |     (|_, ()| ())([return, ()]);
11   |      ^^^^^^^
12help: provide the argument
13   |
14LL |     (|_, ()| ())([return, ()], ());
15   |                 ~~~~~~~~~~~~~~~~~~
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0057`.