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
471 B14 linesraw
1error[E0061]: this function takes 1 argument but 0 arguments were supplied
2  --> $DIR/arg-count-mismatch.rs:5:28
3   |
4LL | fn f(x: isize) { }
5   | -------------- defined here
6LL | 
7LL | fn main() { let i: (); i = f(); }
8   |                            ^-- supplied 0 arguments
9   |                            |
10   |                            expected 1 argument
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0061`.