]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3044.stderr
Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup
[rust.git] / src / test / ui / issues / issue-3044.stderr
1 error[E0061]: this function takes 2 arguments but 1 argument was supplied
2   --> $DIR/issue-3044.rs:3:23
3    |
4 LL |       needlesArr.iter().fold(|x, y| {
5    |  _______________________^^^^_-
6    | |                       |
7    | |                       expected 2 arguments
8 LL | |     });
9    | |_____- supplied 1 argument
10    |
11 note: associated function defined here
12   --> $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL
13    |
14 LL |     fn fold<B, F>(mut self, init: B, mut f: F) -> B
15    |        ^^^^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0061`.