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
425 B13 linesraw
1error[E0061]: this function takes 2 arguments but 1 argument was supplied
2  --> $DIR/issue-3044.rs:3:23
3   |
4LL |       needlesArr.iter().fold(|x, y| {
5   |  _______________________^^^^_-
6   | |                       |
7   | |                       expected 2 arguments
8LL | |     });
9   | |_____- supplied 1 argument
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0061`.