]> git.proxmox.com Git - rustc.git/blame - src/test/ui/wf/wf-in-fn-where-clause.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / wf / wf-in-fn-where-clause.stderr
CommitLineData
1b1a35ee 1error[E0277]: the trait bound `U: Copy` is not satisfied
74b04a01 2 --> $DIR/wf-in-fn-where-clause.rs:10:14
b7449926 3 |
74b04a01 4LL | trait MustBeCopy<T:Copy> {
ba9703b0 5 | ---- required by this bound in `MustBeCopy`
e1599b0c 6...
74b04a01 7LL | where T: MustBeCopy<U>
1b1a35ee 8 | ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `U`
74b04a01 9 |
ba9703b0 10help: consider further restricting type parameter `U`
74b04a01 11 |
1b1a35ee
XL
12LL | where T: MustBeCopy<U>, U: Copy
13 | ^^^^^^^^^
b7449926
XL
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.