1 error[E0277]: the trait bound `(): InOut<_>` is not satisfied
2 --> $DIR/issue-25076.rs:10:20
4 LL | do_fold(bot(), ());
5 | ------- ^^ the trait `InOut<_>` is not implemented for `()`
7 | required by a bound introduced by this call
9 note: required by a bound in `do_fold`
10 --> $DIR/issue-25076.rs:5:18
12 LL | fn do_fold<B, F: InOut<B, Out=B>>(init: B, f: F) {}
13 | ^^^^^^^^^^^^^^^ required by this bound in `do_fold`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.