]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0277]: the trait bound `(): InOut<_>` is not satisfied |
e1599b0c | 2 | --> $DIR/issue-25076.rs:10:20 |
8faf50e0 | 3 | | |
e1599b0c | 4 | LL | do_fold(bot(), ()); |
c295e0f8 XL |
5 | | ------- ^^ the trait `InOut<_>` is not implemented for `()` |
6 | | | | |
7 | | required by a bound introduced by this call | |
94222f64 XL |
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` | |
8faf50e0 XL |
14 | |
15 | error: aborting due to previous error | |
16 | ||
17 | For more information about this error, try `rustc --explain E0277`. |