]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23966.stderr
Rollup merge of #52453 - srijs:fix-52436, r=TimNN
[rust.git] / src / test / ui / issues / issue-23966.stderr
1 error[E0277]: the trait bound `(): std::ops::FnMut<(_, char)>` is not satisfied
2   --> $DIR/issue-23966.rs:12:16
3    |
4 LL |     "".chars().fold(|_, _| (), ());
5    |                ^^^^ the trait `std::ops::FnMut<(_, char)>` is not implemented for `()`
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0277`.