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