fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
569 B19 linesraw
1error[E0057]: this function takes 1 argument but 0 arguments were supplied
2  --> $DIR/E0057.rs:3:13
3   |
4LL |     let a = f();
5   |             ^-- supplied 0 arguments
6   |             |
7   |             expected 1 argument
8
9error[E0057]: this function takes 1 argument but 2 arguments were supplied
10  --> $DIR/E0057.rs:5:13
11   |
12LL |     let c = f(2, 3);
13   |             ^ -  - supplied 2 arguments
14   |             |
15   |             expected 1 argument
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0057`.