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