fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
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`.