fork/rust

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

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

master
590 B22 linesraw
1error[E0057]: this function takes 0 arguments but 1 argument was supplied
2  --> $DIR/wrong_argument_ice-4.rs:2:5
3   |
4LL |       (|| {})(|| {
5   |  _____^^^^^^^_-
6LL | |
7LL | |         let b = 1;
8LL | |     });
9   | |     -
10   | |     |
11   | |_____unexpected argument of type `{closure@$DIR/wrong_argument_ice-4.rs:2:13: 2:15}`
12   |       help: remove the extra argument
13   |
14note: closure defined here
15  --> $DIR/wrong_argument_ice-4.rs:2:6
16   |
17LL |     (|| {})(|| {
18   |      ^^
19
20error: aborting due to previous error
21
22For more information about this error, try `rustc --explain E0057`.