]> git.proxmox.com Git - rustc.git/blob - src/test/ui/where-clauses/where-clause-constraints-are-local-for-trait-impl.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / where-clauses / where-clause-constraints-are-local-for-trait-impl.stderr
1 error[E0277]: the trait bound `T: std::marker::Copy` is not satisfied
2 --> $DIR/where-clause-constraints-are-local-for-trait-impl.rs:18:22
3 |
4 LL | fn require_copy<T: Copy>(x: T) {}
5 | ------------ ---- required by this bound in `require_copy`
6 ...
7 LL | require_copy(self.x);
8 | ^^^^^^ the trait `std::marker::Copy` is not implemented for `T`
9 |
10 = help: consider adding a `where T: std::marker::Copy` bound
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.