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