fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
448 B14 linesraw
1error[E0061]: this function takes 4 arguments but 3 arguments were supplied
2  --> $DIR/not-enough-arguments.rs:10:3
3   |
4LL | fn foo(a: isize, b: isize, c: isize, d:isize) {
5   | --------------------------------------------- defined here
6...
7LL |   foo(1, 2, 3);
8   |   ^^^ -  -  - supplied 3 arguments
9   |   |
10   |   expected 4 arguments
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0061`.