1 error[E0277]: the trait bound `Self: Tr<U>` is not satisfied
2 --> $DIR/type-params-in-different-spaces-2.rs:10:16
5 | ------ ^ the trait `Tr<U>` is not implemented for `Self`
7 | required by a bound introduced by this call
9 help: consider further restricting `Self`
11 LL | fn test<U>(u: U) -> Self where Self: Tr<U> {
14 error[E0277]: the trait bound `Self: Tr<U>` is not satisfied
15 --> $DIR/type-params-in-different-spaces-2.rs:16:16
18 | ------ ^ the trait `Tr<U>` is not implemented for `Self`
20 | required by a bound introduced by this call
22 help: consider further restricting `Self`
24 LL | fn test<U>(u: U) -> Self where Self: Tr<U> {
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0277`.