]> git.proxmox.com Git - rustc.git/blob - src/test/ui/wf/wf-trait-bound.stderr
New upstream version 1.35.0+dfsg1
[rustc.git] / src / test / ui / wf / wf-trait-bound.stderr
1 error[E0277]: the trait bound `U: std::marker::Copy` is not satisfied
2 --> $DIR/wf-trait-bound.rs:9:1
3 |
4 LL | / trait SomeTrait<T,U>
5 LL | | where T: ExtraCopy<U>
6 LL | | {
7 LL | | }
8 | |_^ the trait `std::marker::Copy` is not implemented for `U`
9 |
10 = help: consider adding a `where U: std::marker::Copy` bound
11 note: required by `ExtraCopy`
12 --> $DIR/wf-trait-bound.rs:7:1
13 |
14 LL | trait ExtraCopy<T:Copy> { }
15 | ^^^^^^^^^^^^^^^^^^^^^^^
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0277`.