summaryrefslogtreecommitdiffstats
path: root/tests/ui/fn/issue-3044.stderr
blob: 219029e2afd6c42706b8cbe326b8f24518a998a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0061]: this method takes 2 arguments but 1 argument was supplied
  --> $DIR/issue-3044.rs:3:23
   |
LL |       needlesArr.iter().fold(|x, y| {
   |  _______________________^^^^-
LL | |
LL | |     });
   | |______- an argument is missing
   |
note: method defined here
  --> $SRC_DIR/core/src/iter/traits/iterator.rs:LL:COL
help: provide the argument
   |
LL ~     needlesArr.iter().fold(|x, y| {
LL +
LL ~     }, /* f */);
   |

error: aborting due to previous error

For more information about this error, try `rustc --explain E0061`.