]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-25076.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / issues / issue-25076.stderr
CommitLineData
8faf50e0 1error[E0277]: the trait bound `(): InOut<_>` is not satisfied
e1599b0c 2 --> $DIR/issue-25076.rs:10:20
8faf50e0
XL
3 |
4LL | 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...
7LL | do_fold(bot(), ());
8 | ^^ the trait `InOut<_>` is not implemented for `()`
8faf50e0
XL
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.