1 error[E0277]: the trait bound `str: Clone` is not satisfied
2 --> $DIR/hr-associated-type-bound-param-2.rs:3:8
5 | ^^^^^^^^^^ the trait `Clone` is not implemented for `str`
7 = help: the trait `Clone` is implemented for `String`
8 note: required by a bound in `Z`
9 --> $DIR/hr-associated-type-bound-param-2.rs:6:35
11 LL | trait Z<'a, T: ?Sized>
12 | - required by a bound in this
14 LL | for<'b> <T as Z<'b, u16>>::W: Clone,
15 | ^^^^^ required by this bound in `Z`
17 error[E0277]: the trait bound `str: Clone` is not satisfied
18 --> $DIR/hr-associated-type-bound-param-2.rs:15:14
21 | ^^^ the trait `Clone` is not implemented for `str`
23 = help: the trait `Clone` is implemented for `String`
24 note: required by a bound in `Z`
25 --> $DIR/hr-associated-type-bound-param-2.rs:6:35
27 LL | trait Z<'a, T: ?Sized>
28 | - required by a bound in this
30 LL | for<'b> <T as Z<'b, u16>>::W: Clone,
31 | ^^^^^ required by this bound in `Z`
33 error[E0277]: the trait bound `str: Clone` is not satisfied
34 --> $DIR/hr-associated-type-bound-param-2.rs:3:8
37 | ^^^^^^^^^^ the trait `Clone` is not implemented for `str`
39 = help: the trait `Clone` is implemented for `String`
40 note: required by a bound in `Z`
41 --> $DIR/hr-associated-type-bound-param-2.rs:6:35
43 LL | trait Z<'a, T: ?Sized>
44 | - required by a bound in this
46 LL | for<'b> <T as Z<'b, u16>>::W: Clone,
47 | ^^^^^ required by this bound in `Z`
49 error: aborting due to 3 previous errors
51 For more information about this error, try `rustc --explain E0277`.