fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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