]> git.lizzy.rs Git - rust.git/blob - src/test/ui/wf/wf-in-fn-where-clause.stderr
Point at arguments or output when fn obligations come from them, or ident when they...
[rust.git] / src / test / ui / wf / wf-in-fn-where-clause.stderr
1 error[E0277]: the trait bound `U: std::marker::Copy` is not satisfied
2   --> $DIR/wf-in-fn-where-clause.rs:9:4
3    |
4 LL | trait MustBeCopy<T:Copy> {
5    | ------------------------ required by `MustBeCopy`
6 ...
7 LL | fn bar<T,U>()
8    |    ^^^ the trait `std::marker::Copy` is not implemented for `U`
9 LL |     where T: MustBeCopy<U>
10    |                           - help: consider further restricting type parameter `U`: `, U: std::marker::Copy`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.