]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-43784-supertrait.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-43784-supertrait.stderr
CommitLineData
1b1a35ee 1error[E0277]: the trait bound `T: Copy` is not satisfied
0731742a 2 --> $DIR/issue-43784-supertrait.rs:8:9
8faf50e0 3 |
29967ef6
XL
4LL | pub trait Complete: Partial {
5 | ------- required by this bound in `Complete`
6...
532ac7d7 7LL | impl<T> Complete for T {}
1b1a35ee 8 | ^^^^^^^^ the trait `Copy` is not implemented for `T`
74b04a01 9 |
ba9703b0 10help: consider restricting type parameter `T`
74b04a01 11 |
cdc7bbd5
XL
12LL | impl<T: std::marker::Copy> Complete for T {}
13 | ^^^^^^^^^^^^^^^^^^^
8faf50e0 14
b7449926 15error: aborting due to previous error
8faf50e0 16
b7449926 17For more information about this error, try `rustc --explain E0277`.