]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23966.stderr
Auto merge of #53245 - michaelwoerister:thinlto-rust-llvm, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-23966.stderr
1 error[E0277]: expected a `std::ops::FnMut<(_, char)>` closure, found `()`
2   --> $DIR/issue-23966.rs:12:16
3    |
4 LL |     "".chars().fold(|_, _| (), ());
5    |                ^^^^ expected an `FnMut<(_, char)>` closure, found `()`
6    |
7    = help: the trait `std::ops::FnMut<(_, char)>` is not implemented for `()`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.