fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `(): InOut<_>` is not satisfied 2 --> $DIR/issue-25076.rs:10:20 3 | 4LL | do_fold(bot(), ()); 5 | ------- ^^ the trait `InOut<_>` is not implemented for `()` 6 | | 7 | required by a bound introduced by this call 8 | 9help: this trait has no implementations, consider adding one 10 --> $DIR/issue-25076.rs:3:1 11 | 12LL | trait InOut<T> { type Out; } 13 | ^^^^^^^^^^^^^^ 14note: required by a bound in `do_fold` 15 --> $DIR/issue-25076.rs:5:18 16 | 17LL | fn do_fold<B, F: InOut<B, Out=B>>(init: B, f: F) {} 18 | ^^^^^^^^^^^^^^^ required by this bound in `do_fold` 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0277`.