]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/hr-associated-type-bound-param-3.stderr
9935445c306586c88a33a6ae53f6ac923839f0c4
[rust.git] / src / test / ui / associated-types / hr-associated-type-bound-param-3.stderr
1 error[E0277]: the trait bound `str: Clone` is not satisfied
2   --> $DIR/hr-associated-type-bound-param-3.rs:13:14
3    |
4 LL |     type U = str;
5    |              ^^^ the trait `Clone` is not implemented for `str`
6    |
7 note: required by a bound in `X`
8   --> $DIR/hr-associated-type-bound-param-3.rs:4:33
9    |
10 LL | trait X<'a, T>
11    |       - required by a bound in this
12 ...
13 LL |     for<'b> <T as X<'b, T>>::U: Clone,
14    |                                 ^^^^^ required by this bound in `X`
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0277`.